-
Notifications
You must be signed in to change notification settings - Fork 6
Development Installation
Logan Terry edited this page Mar 8, 2021
·
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"
Note: you may need to install an older version of nodejs. Currently nodejs 10 works. You will also likely need to run "npm install --save-dev --unsafe-perm node-sass".
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. If you don't want to, or are unable to run the back-end locally, you can change the backendURL in src/app/environments/environment.ts. If you do this please be sure to not commit the change to environment.ts.
- 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.