This application represents support of random one line jokes for programmers (https://pyjok.es) shipped with python and flask micro-web framework.
Please follow https://pyjokes-stand.herokuapp.com web app to see how it looks like.
Tools
pyjokespython 3.7html/css/jspytestshelltravis CIheroku
Run script from the root directory of the project:
python joker.pyIn general static code analysis consists of following tools: black, flake8, pylint, mypy, pydocstyle and unittests (using pytest) accordingly.
To be able to start static code analysis locally please run following script from the root directory of the project:
./run-code-assessment.sh install-dependenciesAnyway it will be run via CI automatically after every change was made to the repo via Travis CI.
Please follow instructions from - https://python-responder.org/en/latest/deployment.html
- Install heroku following by - https://devcenter.heroku.com/articles/heroku-cli#download-and-install
- Login to heroku
heroku login- Create an application
heroku create pyjokes-stand- Commit and push repo into a heroku
git add . && git commit -m "Add pyjokes heroku app" && git push heroku master- Check heroku logs
heroku logs --tail- Open an application via browser: https://pyjokes-stand.herokuapp.com
Heroku automation master – Volodymyr Yahello [email protected]
Distributed under the BSD license. See LICENSE for more information.
You can reach out me at (for heroku automations inquiries):
- clone the repository
- configure Git for the first time after cloning with your
nameandemail pip install -r requirements.txtto install all project dependenciespip install -r requirements-dev.txtto install all project development dependencies
