This repository is only to me learning Angular 2. =]
Install Node.js and npm package manager.
Install docker and docker-compose, wait the install process finish, so execute in your terminal:
# Build docker images, this command is only necessary at first time
sudo docker-compose build
# Start required containers
sudo docker-compose up -d
Execute the commands below to start the API webserver.
sudo docker-compose exec fakegram-angular2 bash
cd server
npm install
npm start
Now you need to start the Angular 2 client server.
sudo docker-compose exec fakegram-angular2 bash
cd client
npm install
npm start
If everything went well, you can access the application in your web browser: http://localhost:3000.
For stop and remove the container execute the command below:
sudo docker-compose down