-
Notifications
You must be signed in to change notification settings - Fork 1
development environment manual setup
MarkoV edited this page Feb 14, 2017
·
3 revisions
- Installed Java8 SDK
- Running Redis instance on default port - you could consider running docker container
- Installed NodeJS with npm
- Clone the project
git clone https://github.com/MarkoVcode/Insect.git
- Build and download dependency
cd Insect
./gradlew build
orgradlew.bat build
- Download all the ins_proxy nodejs dependencies
cd ins_proxy/src
npm install
To run the project locally three services needs to be executed (make sure that Redis instance is up and running)
- Executing proxy service:
cd ins_proxy/src
npm start
- Execute websocket service:
ins_websockets/src/main/java/org/scg/websockets/run/WebsocketsDriver.java
- Execute webapplication service:
ins_webapp/src/main/java/org/scg/webapp/run/WebappDriver.java
[Basic application configuration](configuring application)
For nodeJS running and debugging I strongly recommend http://code.visualstudio.com
For running and debugging java project https://www.jetbrains.com/idea
The code is making use of http://editorconfig.org
Make sure that your IDE is supporting .editorconfig. Some IDEs might need a plugin installed for that to work.