Skip to content

Instantly share code, notes, and snippets.

@dangoor
Created May 13, 2010 15:37
Show Gist options
  • Save dangoor/399962 to your computer and use it in GitHub Desktop.
Save dangoor/399962 to your computer and use it in GitHub Desktop.
in bespinclient
source bin/activate
cd ../bespinserver
python
from bespin import config
config.set_profile("dev")
config.activate_profile
from bespin import db
db.User.create_user(username, password, email, "/path/to/your/home/directory (optional)")
s = db._get_session()
s.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment