<-- click here to deploy this app on your own free Heroku server!
Learn more about your words and their social impact and build new habits around your language.
The bot will not message you about a word if you escape it with backticks.
TODO: add details about all the commands and how they work, once we build them
-
brew install heroku-toolbelt
(if you have heroku, you need to get it to recognize heroku-toolbelt instead, I just ininstalled heroku) -
heroku git:remote -a [name of your app] -r production
-
git push production [your_branch_name]:master
when you make changes
-
To seed your DB (load it up with the words/categories specified in yml), run
python -m better_words.db.seed
. If you add new words or change the yml file, you will need to reseed. -
Your DB, by default, will be sqlite based and stored in the file
db.sqlite
. If you want to use a different DB, such as postgres on heroku, specify the ENV varDATABASE_URL
-
There are python models in
/models
representing each DB table for easy access