- There's no dockerfile in this exercice project, better to build one
- Consider to replace sqlite with PostgresSQL and build a docker-compose file
- No typing annotation or tests functions in app (please add your own testcase and type annotation...)
- One bug found: Failed to access userprofile page if the user doesn't have the portrait, it will work if you upload the portrait
- fix dependencies issue
- python version used in project: 3.10
- if problem appears when trying to install requeirements.txt, try to manually install with command
pip install <package name>
$ # Download
$ git clone https://github.com/yaozeliang/Library.git
$ cd Library
$ # Install vierual environment
$ pip install virtualenv
$ virtualenv envname
$ # Activae virtual env
$ envname\scripts\activate
$cd ../..
$ pip3 install -r requirements.txt
$
$ # Create tables
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Start the application
$ python manage.py runserver
- No type convention or comments
- No unit/function test implemented
- No performance improvements yet