Guest User

Untitled

a guest
May 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. in bespinclient
  2.  
  3. source bin/activate
  4. cd ../bespinserver
  5. python
  6. from bespin import config
  7. config.set_profile("dev")
  8. config.activate_profile
  9. from bespin import db
  10. db.User.create_user(username, password, email, "/path/to/your/home/directory (optional)")
  11. s = db._get_session()
  12. s.commit()
Add Comment
Please, Sign In to add comment