fastify-example-twitter
fastify-example-twitter copied to clipboard
Improve README
Add how to run this on local machine
docker run --rm -d -p 6379:6379 redis
docker run --rm -d -p 27017:27017 mongo
See #18
how I run this example :
**** the running environment is very important. I list my running environment.****
1: my os is ubuntu 16.04:
$ uname -a
Linux ubuntu 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64
x86_64 x86_64 GNU/Linux
2: my docker version : 17.03.0~ce-0~ubuntu-xenial when I install the docker from : docker-ce | 17.12.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages it did not work, docker run hello-world fail .
3: thanks allevo' help , must run these two things first docker run --rm -d -p 6379:6379 redis docker run --rm -d -p 27017:27017 mongo
4: build and run
cd frontend && npm run build && cd ..
npm start -- --log-level trace --port 3001