- [https://pakguru.azurewebsites.net/] - pak.guru old website is a multi-container django app hosted on Azure. We make heavy use of serverless lambdas to harvest data.
- Python v3.7.4 with pip
- Docker and docker-compose
- git
- VS Code
- Azure Cli
Make sure your local volumne drives are mounted and shared within docker.
For example:
docker run --rm -v c:/Users:/data alpine ls /data
docker pull bilgrami/pakguru:latest
git clone https://github.com/bilgrami/pakguru.git
cd pakguru
## setup python environment
./shell_scripts/setup-environment.sh
docker build -t bilgrami/pakguru:latest .
After building docker image, launch the website using any of the following methods:
docker-compose up
docker run --rm -it -p 5000:5000/tcp bilgrami/pakguru:latest
Run init script to create users, migrate database and load sample fixture data
docker-compose exec web bash -c 'cd /usr/local/project/pakguru_project && chmod +x ./shell_scripts/init_script.sh && ./shell_scripts//init_script.sh'
Verify the deployment by navigating to your server address in your preferred browser.
http://localhost:5000
version 0.1.1