On a terminal...
- Alternative 1
Via web URL:
git clone https://github.com/DanielDi/Credit_Risk.git - Alternative 2
Via ssh key:
git clone git@github.com:DanielDi/Credit_Risk.git
- virtualenv
- Install using "pip3 install virtualenv"
- docker
- Create virtual environment
virtualenv -p python3 env- Activate virtual environment
.\env\Scripts\activate- Install dependencies
pip install -r .\project\requirements.txt- Change the python interpreter
- Open the directory project in terminal
- Build the project:
docker build -t docker-dash project/.- Run the project:
docker run --name dash-project -it --mount type=bind,source="$(pwd)"/project/app,target=/usr/src/app -p 8050:8050 docker-dash
- Open in a browser http://localhost:8050
- Check images:
docker images
- Check containers:
docker ps
-stop project
docker stop dash-project
-restart project
docker restart dash-project
- start project again
docker start dash-project