Skip to content

Retail Chain Application for study the Django Framework.

Notifications You must be signed in to change notification settings

aticomismana/retail-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

retail-chain

Retail Chain Application for study the Django Framework.

Make the development environment (Tested on Ubuntu 18.04 with Python 3.6.9)

  1. Create the virtual environment:
$ cd retail-chain/source
$ python3 -m venv venv
  1. Initialize the venv, upgrade pip and installer the project dependencies:
$ source venv/bin/activate
$ python -m pip install --upgrade pip
$ pip install -r requirements.txt
  1. Create the SQLite3 database, create and running migrations:
$ python manage.py migrate
$ python manage.py makemigrations webapp
$ python manage.py migrate webapp
  1. Create your admin account:
$ python manage.py createsuperuser
  1. Run the project:
$ python manage.py runserver
  1. Access the admin panel to try the models: http://127.0.0.1:8000/admin

To see or manage the SQLite3 database its recommended to use the SQLite Studio: https://github.com/pawelsalawa/sqlitestudio/releases/tag/3.2.1

About

Retail Chain Application for study the Django Framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages