-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up ConGaLi
Miguel Isasmendi edited this page May 1, 2017
·
15 revisions
HOME > TECHNICAL DOCUMENTATION > SETTING UP CONGALI
This are the instructions needed to run ConGaLi on your local environment.
This configuration uses a local installation of istambul for coverage, so you won't need to run any particular script before the build process. There are possible failures running Istanbul on Windows so, if any issue arises, yo will have to investigate on that direction.
This server is configured and is suggested to be tested along with the Web fronted developed along, although you can use whenever client you like, as long you provide the propper data to this endpoint.
## Build Setup
# install dependencies
npm install
# serve at localhost:3000, opens another port for debugging process.
npm run dev|
# serve at localhost:3000
npm run app
# run unit tests
npm run unit
# run coverage
npm coverage
# run all tests
npm test
docker run -i -t --name localContainerName -p 8083:8083 remoteurl/image_name
(ctrl-c) to stop command
docker start localContainerName
docker network connect localNetworkName localContainerName
cd {project-root}
docker build -t remoteurl/image_name:version .
// write a script to update the local version of the app