Learn from links. #7 featured product on ProductHunt. free & opensource!
python -m pip install -r requirements.txt
Create .env with the following (or add the following environment variables)
SQLALCHEMY_DATABASE_URI = "file:"
SALT = ""
RECAPTCHA_PUBLIC_KEY = ''
RECAPTCHA_PRIVATE_KEY= ''
SECRET_KEY = ''
Optional
APP_NAME = ''
ACTIVE_FRONT_THEME = ''
ACTIVE_BACK_THEME = ''
If using gunicorn locally, use this
import os
from dotenv import load_dotenv
for env_file in ('.env', '.flaskenv'):
env = os.path.join(os.getcwd(), env_file)
if os.path.exists(env):
load_dotenv(env)
Run
shopyo initialise
flask run --debug