0.0.1 • Published 5 years ago

entities-client v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

entities-client

Front end code for working with entities, including Cast of Characters as first use case

Development

The following steps should be enough to set up and run the application:

  • Clone the three Platform projects: pruits-lib, entities-client, entities-service
  • In entities-service run ./gradlew bootJar. This builds the SpringBoot jar file.
  • Create the directory /var/lib/entities and change ownership to yourself.
  • Start the service: in the entities-service project run java -jar build/libs/entities-service-{verson.number}.jar. Here version.number is the version number defined in the gradle build file.
  • Install npm dependencies: run npm install in the entities-client project.
  • Start the node server: run npm start in the entities-client project.

The last step will compile the typescript, start a node server on port 3000 and open a browser. You can access the application from a different browser locally by going to http://localhost:3000.