Create a virtual environment and activate it
install requirements
pip install -r reqs/app.txt
pip install -r reqs/dev.txt
cd shopyo
python manage.py initialise
python manage.py rundebug
using shopyo/shopcube.db as db
browse around and go to /dashboard with login [email protected] and password pass
Current features:
- cart
- wishlist
- stock
- orders
Read the shopyo docs to get more development insights
In shopyo/ create a new folder called instance
In shopyo/instance/ create a new file called config.py
In config.py add something like that, the following is for mysql:
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://{username}:{password}@{server_name}/{db_name}".format(
username='shopcube',
password='pass1234-A',
server_name='localhost',
db_name='shopcube'
)