Skip to content

marciorodrigues87/geochallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geochallenge

environment

You will need the following dependencies:

npm
node6
bower
java8
maven3
docker
docker-compose
a docker-machine named default
docker env configured (docker-machine start default && eval $(docker-machine env default))

building and running

Just run the command:

export DOCKER_MACHINE_IP=$(docker-machine ip) && cd finup-backend && mvn clean install && cd ../finup-frontend/public && bower install --allow-root && cd ../.. && docker-compose up --build

on project root dir.

NOTE: If the application receives error when connecting to the database, wait until the database container is created and then run the command again :(

local testing

To signup:

http://$(docker-machine ip default):8081

To survey respond:

http://$(docker-machine ip default):8081/#!/survey?key=57ddba9708813b0001b7ab97

The key param is the subscription id on mongodb

automated tests

backend

After building and running, just run the following command:

cd finup-backend/integration-tests && mvn test -P integration-tests -Dvrcc.tests.integration.host=http://$(docker-machine ip default)

on project root dir.

logs

To see the application logs access this link:

http://$(docker-machine ip default):9292/index.html#/dashboard/file/logstash.json

demo

The running demo of this code can be seen in this link:

http://ec2-54-187-136-187.us-west-2.compute.amazonaws.com:8081/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published