We have used MySQL db, the app has a simple home page
A simple CRUD app in Django
Note:
- The bee app is for homepage, and in future to extend that, user logins etc.
- The todos app has all the current main code for adding/showing the created entries.
-
Clone the repo
git clone {{repo .git link}}
-
Create a virtualenv with name venv
virtualenv venv
Activate it
source venv/bin/activate
and run pip install -r requirements.txt
. If you choose other name modify the .gitignore accordingly.
- Create the local database
python manage.py migrate
andpython manage.py makemigrations
- Run it
python manage.py runserver
Contributor @khatryshikha and @Pratibha-Goyal
Possible errors and their solutions:-
Error in installing Mysql dependency in pip
sudo apt-get install libmysqlclient-dev