Skip to content
/ labcat Public

A simple catalog for materials in the IS Lab

Notifications You must be signed in to change notification settings

n1colem/labcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

labcat

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.

Set Up for Developers

  1. Go to the directory on your machine where you want to store your project repositories: cd ~/projects (or something similar)
  2. Clone this repository: git clone https://github.com/joshuago78/labcat.git
  3. Change directory: cd labcat
  4. Create a virtual environment: python3 -m venv ENV
  5. Activate the environment source ENV/bin/activate
  6. Install the dependencies: pip install -r requirements.txt
  7. Change directories to the django project: cd labcat

Now you are all set to run the Django management commands

Some common Django management commands you will want to use

  • python manage.py shell starts the Python interpreter that is Django aware.
  • python manage.py dbshell starts the shell for SQLite3 (or whatever RDBMS you configure)
  • python manage.py runserver runs your application on port 8000 (point your browser at http://127.0.0.1:8000)
  • python manage.py test catalog runs the test suite in the catalog/tests.py file
  • python manage.py makemigrations checks for changes to your models and makes a migration file
  • python manage.py migrate converts migration files to SQL and implements the changes in the database

About

A simple catalog for materials in the IS Lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages