Example of Simple library managemnt with django and mysql(CRUD, auth, advanced patterns, etc) that adheres to the library management .
This repo is functionality complete — PR's and issues welcome!
MySQL installed and running, if not please check out MySQL download page and follow these instructions.
Set up MySQL database, use -u -p flags to provide username and password:
$ mysql < librarry_management.sql
- Clone this repository:
git clone https://github.com/wubrafiq807/locallibrary-django
. cd
intoconduit-django
:cd locallibrary-django
.- Install pyenv.
- Install pyenv-virtualenv.
- Install Python 3.5.2:
pyenv install 3.5.2
. - Create a new virtualenv called
productionready
:pyenv virtualenv 3.5.2 productionready
. - Set the local virtualenv to
productionready
:pyenv local productionready
. - Reload the
pyenv
environment:pyenv rehash
.
If all went well then your command line prompt should now start with (productionready)
.
If your command line prompt does not start with (productionready)
at this point, try running pyenv activate productionready