Assuming mysql server is up on port 3306 and access allowed with the username and password
cd server
docker build -t server .
docker run -d -p 3000:3000 --network host server
Reference: https://github.com/avatsaev/angular4-docker-example
cd client
docker build -t client .
docker run -d -p 8080:80 client
-
Installation Node.js and Npm
sudo apt-get install nodejs npm
-
Clone the repo
git clone https://github.com/CSE-Projects/crypto-watch.git
-
Check README.md for setting variables
-
Assuming mysql server is up on port 3306 and access allowed with the username and password
npm start
- Move to the client folder
cd client
- install dependencies
npm install
- Run locally
The client app can be accessed from http://localhost:4200
ng serve -o