Skip to content

Development Installation

Logan Terry edited this page Feb 24, 2020 · 4 revisions

Set up the front-end for development

  • Install nodejs on your device
  • 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.

Set up the backend for development

  • Make sure you have the Java 8 jdk found here
  • Install the EE edition of Eclipse found here
  • Install tomcat 9
    • Windows instructions here
    • Mac instructions here
    • Linux instructions here (Note: You don't need to set up the user, or the service)
  • 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.

Clone this wiki locally