A simple catalog for materials in the IS Lab.
This is a class project for students in IS289-4 - Web Development. It is intended for use by the student library/lab in the Information Studies Department at UCLA.
- Go to the directory on your machine where you want to store your project repositories:
cd ~/projects(or something similar) - Clone this repository:
git clone https://github.com/joshuago78/labcat.git - Change directory:
cd labcat - Create a virtual environment:
python3 -m venv ENV - Activate the environment
source ENV/bin/activate - Install the dependencies:
pip install -r requirements.txt - Change directories to the django project:
cd labcat
Now you are all set to run the Django management commands
python manage.py shellstarts the Python interpreter that is Django aware.python manage.py dbshellstarts the shell for SQLite3 (or whatever RDBMS you configure)python manage.py runserverruns your application on port 8000 (point your browser at http://127.0.0.1:8000)python manage.py test catalogruns the test suite in thecatalog/tests.pyfilepython manage.py makemigrationschecks for changes to your models and makes a migration filepython manage.py migrateconverts migration files to SQL and implements the changes in the database