-
Notifications
You must be signed in to change notification settings - Fork 6
Development Installation
Logan Terry edited this page Feb 24, 2020
·
4 revisions
- Install nodejs on your device
- Windows/Mac link https://nodejs.org/en/download/
- Linux "sudo apt install nodejs"
- Mac "brew install nodejs"
- Install angular "npm install -g @angular/cli"
- Clone the repository to your device and navigate your shell to SBOLCanvasFrontend/
- Run "npm install"
Now you can run the front-end with "ng serve -o". If you make changes to a file and save them ng will automatically recompile and update your browser. SBOLCanvas expects that you will be running the back-end at localhost, so even if you don't intend on doing back-end development you will still need to set up a local server.
- Make sure you have the Java 8 jdk found here
- Install the EE edition of Eclipse found here
- Install tomcat 9
- In Eclipse open the existing SBOLCanvasFrontend project
- In Eclipse set up a tomcat 9 server following these instructions
- In Eclipse right click the server under the servers tab "Add and remove"
- Add SBOLCanvasBackend to the server
You should now be able to run the back-end by right clicking the server under the servers tab and running it.