Skip to content

dylanherbig/simple-inventory-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Inventory Tracking

Development Setup

These are some instructions for setting up the development environment.

  1. Clone the repository

  2. Create and activate virtual environment.
    .venv is the environment name. This can be replaced with whatever you like.

python -m venv .venv
# for Windows
.venv/Scripts/activate.bat

# for Git Bash
source .venv/Scripts/activate
  1. Install all the required packages
pip install -r requirements.txt
  1. Setup local settings
    Copy the local_settings.default.py file in the mysite folder and rename it local_settings.py. This should automatically be removed from version control in the .gitignore. Then update the local_settings.py file with the Django secret key (this will be shared with you over a secure channel).

  2. Make database migrations

python manage.py makemigrations
python manage.py migrate
  1. Setup superuser account
python manage.py createsuperuser

You'll also want to setup a superuser on the postgres database. If you haven't already installed Heroku CLI, do that now.

heroku run python manage.py createsuperuser --app group-project-a22

Setup should now be complete. You can now host the repository locally with

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published