Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
asb
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The Cave of Dragonflies ASB

Setting up for development

First of all, set up a Python 3 virtualenv. (Using a virtualenv is more or less mandatory — setup.py specifies exact versions of everything that will probably conflict with anything else.)

Also, if you want to use something other than SQLite for the database, make a copy of development.ini and change the sqlalchemy.url line accordingly.

Anyway, from this directory:

pip install --editable .
asbdb development.ini init
pserve --reload development.ini

Updating

pip install --upgrade --editable .
asbdb development.ini update

Optional packages

Other potentially-useful packages to pip install (i.e. everything that's not in setup.py but that I use in production):

  • gunicorn, for Serious Deployment instead of pserve
  • psycopg2, if you're using Postgres
  • pycrypto, if you want to use cookie-only sessions

About

A web app to keep track of people's stuff in a play-by-post Pokémon forum game

Resources

Releases

No releases published

Packages

No packages published