Steps for installing pyramid and creating a new project in a Linux environment
- 2020-04-02 13:15:45
- OfStack
1. Install the python virtual environment
virtualenv --no-site-packages env
2. Install the pyramid
$ env/bin/easy_install pyramid
3. Create a project using the alchemy template
pcreate -s alchemy MyProject
4. Install project dependencies
python setup.py develop
5. Run the unit tests
python setup.py test � q
6. Install the initialization database script
env/bin/initialize_[projectname]_db development.ini
7. Launch a website
pserve development.ini --reload