- node version 8.x, strongly suggest 8.10
- npm 5.x
Can use node version manager (nvm for short) to get local envionment
install docker read the instruction on Install Docker from official site
Build docker image from command line the name of the image is "local_mongo". Can changed for any
docker build -t local_mongo .
Then run this command to spin up mongo on port 27017
docker run --name=mongodb_instance -p 27017:27017 -i -d local_mongo
After this point could connect to mongo on 127.0.0.1:mongo
Stop the mongo instance
docker stop mongodb_instance
Start again the mongo instance
docker start mongodb_instance
to remove the docker container should use
docker rm $(docker ps -aq)
to remove any docker image should use (be sure to do that)
docker rmi --force $(docker images -q)
- Run first the docker instance
- Go to
cd accedo-server && npm start
-
be sure than accedo-server is up an running
-
Go to
cd accedo-ui && npm start