The application can be accessed here.
- Install Python 3.7
- Install Pipenv
- Clone this repository
- Change to the directory was created
- Install development requirements
- Configure instance with .env
- Run tests
- Run the application
With Python 3.7 installed, run:
pip install pipenv
git clone git@github.com:diegosorrilha/work-at-olist.git
cd work-at-olist
pipenv sync -d
cp contrib/env-sample .env
pipenv run pytest --cov=phonebills
pipenv run python manage.py runserver
- Run
make dev
to run development server - Run tests with
make test
- Run
make pep8
to check the code style
heroku apps:create myapp
heroku config:set SECRET_KEY=my-secure-secret-key
heroku config:set DEBUG=False
heroku config:set ALLOWED_HOSTS=myapp.herokuapp.com
git push heroku master
- MacBook Pro (13-inch, Mid 2012)
- Core i5
- RAM 10GB
- SSH 120GB
- HDD 500GB
- macOS High Sierra (10.13.6)
- Heroku
- Travis CI
- Python 3.7.0
- Django 2
- Django Rest Framework 3
- PostgreSQL
- To store config in the environment
- python-decouple
- To help with database configurations
- dj-database-url
- To help with tests:
- pytest;
- pytest-django;
- pytest-cov;
- coverage;
- codecov;
- To help with PEP8:
- flake8
- IDE:
- PyCharm 2018.2.2
- To a manual tests and verifications
- iPython
- Dependency management
- Pipenv
- Version-control system:
- Git
- GitHub