ismop / eitwid

1 stars 0 forks source link

build status

System requirements:

In order to run a local server you need to deploy a config file in the project tree. Go to src/main/resources/config (create this directory if it does not yet exist) and open/create a file named application.properties with the following contents:

#this config will override the one in classpath:application.properties
debug = true
maps.google.key = <API key for google maps access - ask MK for details>

dap.token = <secret key for DAP access - ask PN for details>
dap.endpoint = https://dap-dev.moc.ismop.edu.pl/api/v1

secret.token = <secret token used for user registration - ask MK/DH for details>

hypgen.endpoint = https://hypgen-dev.moc.ismop.edu.pl/api
hypgen.user = <hypgen ISMOP username - ask MP for details>
hypgen.pass = <hypgen ISMOP password - ask MP for details>

spring.mail.username = <Spring email acct - ask DH for details>
spring.mail.password = <Spring email password - ask DH for details>

To run a development environment do the following:

... and in the second console window:

... and go to http://localhost:8080

To build and deploy an instance do the following:

... to produce the final jar with all the dependencies and run it like that:

To deploy the ISMOP production instance: