Skip to content

alpinista06/GBB-Store-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running locally

# Virtual Env
mkproject mario
workon mario
pip install -r requirements.txt

# Database
python marioshop/manage.py migrate
python marioshop/manage.py oscar_populate_countries --no-shipping
echo "from oscar.core.loading import get_model; Country = get_model('address', 'Country'); Country.objects.filter(iso_3166_1_a2='BR').update(is_shipping_country=True)" | python marioshop/manage.py shell
python marioshop/manage.py oscar_accounts_init

# Creating Super User
python marioshop/manage.py createsuperuser

# Running
python marioshop/manage.py runserver

First Usage

  1. Create a product_type:
  2. Create a partner:
  3. Create a category:
  4. Create a product:
  5. Create a Account with some Balance/Credit:
  6. Finally:
  7. Extra:

Periodic Routines

TODO: Uses celery-beat to schedule routines

# Add a crontab to
python marioshop/manage.py close_expired_accounts

Development Experience

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published