/pyramid-test

Sample Pyramid project with SQLAlchemy, Alembic and Postgres

Primary LanguagePython

pyramid_test
===============================

Getting Started
---------------

- Change directory into your newly created project.

    cd pyramid_test

- 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]"

- Configure the database.

    env/bin/initialize_pyramid_test_db development.ini

- Run your project's tests.

    env/bin/pytest

- Run your project.

    env/bin/pserve development.ini