This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Failed to load latest commit information.
Pyramid SaaS ============ Getting Started --------------- - Change directory into your newly created project. cd saas - Create a Python virtual environment. python3 -m venv env - Upgrade packaging tools. env/bin/pip install --upgrade pip setuptools - Install the project in editable mode with its testing requirements. env/bin/pip install -e ".[testing]" - Initialize and upgrade the database using Alembic. - Create database: mysql> create database saas; - Generate your first revision, upgrade to it, load start data: env/bin/alembic -c development.ini revision --autogenerate -m "init" env/bin/alembic -c development.ini upgrade head env/bin/initialize_saas_db development.ini - Run your project's tests. env/bin/pytest - Run your project. env/bin/pserve development.ini Deploying --------- The buildspec.yml controls the deployment pipeline which builds new artifacts to deploy. The appspec.yml controls the scripts which run on the instances to update new artifacts. The 'dev' branch updates the development environment, 'staging' udpates the staging environemnt and the 'prod' branch updates the production environment. ToDo ---- - Launching new ASG needs a commit to trigger an initial deploy. - added staging branch