Skip to content

abstratt/codegen-examples

Repository files navigation

codegen-examples

This project contains command-line tools (bash scripts) for accessing features from a Cloudfier (git repository) server.

Target platforms

JEE: Build Status (generated code)

JSE: Build Status (generated code)

MEAN: Build Status

Getting started

This project allows generating code (and running tests) from example applications deployed to the Cloudfier server.

In order to try it on your own machine (for the JavaEE target platform, specified as 'jee'):

git clone https://github.com/abstratt/codegen-examples.git
cd codegen-examples
./gen.sh jee car-rental
./test.sh jee car-rental

which will generate the car-rental example application as currently deployed by the 'test' Cloudfier user (the default user).

If you want to run it against your own application deployed on Cloudfier:

./gen.sh jee <your-app> <your-cloudfier-user> <your-app-base-path>
./test.sh jee <your-app>

For instance (for a Cloudfier user named 'johndoe', an application named 'crm', stored in the user's Cloudfier workspace under the directory 'my-projects'):

./gen.sh jee crm johndoe my-projects
./test.sh jee crm

Note this requires your Cloudfier application not to be directly under the root path, but at least a level below (such as my-projects/crm in the case above).

Finally, see at the top of this document the status for all target platforms supported. Note that a platform is likely to have additional environmental requirements (JavaSE/JavaEE requires Java 8 and Maven, Mean requires a MongoDB database and npm to be installed etc).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages