- Clone this repository to a directory of your choice on your terminal.
- Command to clone:
git clone https://github.com/iamAngelSH/Used_Car_Project.git
- Step in the repository directory
- Change Direcotry
cd Used_Car_Project
- Here you should have all the contents you need.
- Having Docker running already on your computer, we can get started with the FLask App.
- Let's build the image
- Run docker-compose up in the same directory you are in
docker-compose up
- On your terminal you should see a build with links to access the server.
- Once the image is the done building you should get a similar link as shown below:
- http://8fb526fba343:8888/lab?token=0e90fd3d58c88017f252e01d2c10e74d3ffdafcbfbcf8911
- Click one of the links and it will take you to a web page that won't load.
- WE NEED TO CHANGE THE PORT!
- Since port 8888 is for the server running on the docker container, we need to use the port running on our local machine that I set in our docker-compose file.
- Use the following port:
- 9090
- New link should look something as follows:
- Congrats 🥳 PySpark Jupyter-notebook is up and running