-
Notifications
You must be signed in to change notification settings - Fork 0
Set up the environment
Luis Emilio Velasco Sánchez edited this page Feb 18, 2016
·
2 revisions
The aim of this page is to serve as a simple guide to set up the development environment of the application. This tutorial is thought for Windows users. If needed, the guide could be adapted for other users.
- Download the installer from here.
- Run the installer with all the default options.
- When you are asked to put the MySQL Root Password use
root
. (This is only for local development, not for production). - Be aware that everything is okey and the server is started.
- Download the MySQL Workbench from here.
- Run the installer with all the default options.
- Once the installer finish, the program will start. Log in localhost.
- Create a new schema called
voters
## Run the project First of all, open a CMD in the project root and run:
votersI2> mvn install
Then, to set up the REST API you should go to voter-access
folder and run:
votersI2\voter-access> mvn spring-boot:run
The server will be started at localhost:8080
.
If you also want to start the web interface, you just need to open a new CMD, go to web-app
folder and run:
votersI2\web-app> mvn spring-boot:run
This command starts the application at localhost:8888
.