- Make sure you have Python 3.8.7 installed on your machine.
- Do
git clone https://github.com/M4THYOU/waldo_backend.git. - Do
cd waldoor whatever this project is called to enter the base directory of the project. You're in the right spot if and only ifmanage.pyis in your immediate directory. If not, go to the directory where it is. - Run
mkvirtualenv venvto make a virtual environment. - I think it will automatically enter you into the virtual environment, but run
source venv/bin/activatejust to make sure. - Run
python -m pip install -r requirements.txtto install all the required packages for the project. - Ask Matthew for the
secrets.pyfile. Put it in the same directory assettings.py. I.e. the path from base of the project iswaldo/secrets.py. - Run
python manage.py runserverto start the server. It should work, you can verify this by going to http://localhost:8000/. If it doesn't work, well just fix what's broken. Use your critical thinking skills for this.
- Create your own dev branch with the following command
git checkout -b dev-<you name here>. Obviously, replace<you name here>with your actual name. - Never ever commit to master branch. Work on the branch above and make a pull request when you want changes to be merged.
- Message Matthew when you make a pull request, and he will merge it in.
- We are using Bootstrap 4.1 as a frontend
frameworklibrary: https://getbootstrap.com/docs/4.1/getting-started/introduction/
The tensorflow model used for this app can be found here