The Community Application Editor
CAE Core Components:
- CAE-Templates
- CAE-Frontend
- CAE-Code-Generation-Service
- CAE-Model-Persistence-Service
- CAE-Simple-Model-Representation
CAE-GitHub-Proxy(deprecated)
CAE Tools and Apps
Note: These scripts are for developers who want/need to work on the CAE. If you just want to use the CAE, have a look at the CAE-DockerImage repository. It automatically deploys a fully functional and configured instance of the CAE for you in a Docker container.
- Start with
sh install.sh
. This script tries to install and setup supervisor and clones all necessary repositories. Additionally you need a running ROLE server. Check out the releases or build the ROLE SDK yourself. - Follow the install instrutions in the corresponding repositories to build the las2peer services and ROLE widgets. The links to the repositories can be found above. Please have a look at the README-files and the wiki's of the repositories.
- If everything was build and configured correctly just run
sh setup.sh
. The script just copies the builds of the repositories cloned in step 1 into a separate folder. The folder is called myCAE and has the following structure:
- etc property files of the services
- lib the libraries for the cae backend services
- service the cae backend services
- frontend
- cae the cae widgets
- syncmeta the syncmeta widgets
- wireframe the wireframing editor widget
Check the folder structure and make sure eveything is there and your urls are set correctly.
- Run
sh start
to open the supervisor frontend at http://localhost:9001 in your standard browser. From here you can manually start the services you want to work with. The following programs should be available in the supervisor frontend:
- role start the role service at http://127.0.0.1:8073.
- services the las2peer network available at http://localhost:8080/.
- services_debug the las2peer network available at http://localhost:8080/ in debug mode.
- yjs the y-websockets-server at port 1234.
- widgets the webserver to serve the widgets at http://127.0.0.1:8001.The widgets-program requires the http-server module. You can get it by just running
npm install -g http-server
.
Note Start either services or services_debug, because they use the same port(See step 4 from above). They are both exactly the same with just one difference that you can attach the java remote debugger to debug the las2peer-services with Eclipse or IntelliJ.