https://travis-ci.com/ECM3432-O/ECM3432-2020-minsky
To run the backend of this application:
Run yarn main from the top level directory of the project
To run the front end of this application:
Run yarn frontend at the top level directory of this project.
- If you want to make changes to the front end, you will need to run front end first then main.
To rebuild the Java backend.
cd minsky-one
mvn compile
mvn package
# To run in test
mvn jetty:run
See https://code.visualstudio.com/docs/java/java-tutorial and https://maven.apache.org/install.html if Java SDK or Maven are not installed.
To install all front-end dependencies. Requires node and npm.
https://nodejs.org/en/download/
npm install -g yarn
cd minksy-gatsby
yarn install
yarn build
Linux/Mac users might need this https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
https://travis-ci.com/github/ExeterBScDTS/ECM3432-2020-minsky
To generate a new release via Travis CI create a tag
git tag -a v0.1.x -m "v0.1.x"
git push origin v0.1.x
The settings database is loaded at start-up. This is achieved using <load-on-startup>
Adding the update feature created some issues.
HTTP ERROR 500 java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext
URI: /update
STATUS: 500
MESSAGE: java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext
SERVLET: update
CAUSED BY: java.lang.NoClassDefFoundError: org/apache/http/protocol/HttpContext
CAUSED BY: java.lang.ClassNotFoundException: org.apache.http.protocol.HttpContext
This was resolved by including library jars in the war file. See pom.xml