Run these commands to get Cama Community running locally:
virtualenv -p $PYTHON_PATH_39 venv39
source ./venv39/bin/activate
pip install -r requirements.txt
echo $"#/bin/sh\nblack .\npython lint.py -p ../cama-community/'> .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
Visit this URL to invite this bot to your server Dev:
https://discord.com/api/oauth2/authorize?client_id=964357127005171712&permissions=518633381313&scope=applications.commands%20bot
Staging
https://discord.com/api/oauth2/authorize?client_id=965707277673844776&permissions=517593225536&scope=applications.commands%20bot
Prod
https://discord.com/api/oauth2/authorize?client_id=966401418451910736&permissions=517593357632&scope=applications.commands%20bot
To easily set config variables
heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d')
To easily commit and push to heroku:
gcam '++'; git push origin <BRANCH>; git push heroku-staging <BRANCH>:main
gcam '++'; git push origin tip-2; git push heroku-staging tip-2:main; heroku logs --tail -a cama-community-staging;