Superlists
Simple Django to-do app.
Installation
Follow the below steps to set it up on a machine. Preferably manage python packages using virtual environments like virtualenvwrapper , virtualenv or venv which comes with python >= 3.3
git clone https://github.com/salmanulfarzy/superlists.git cd superlists pip install -r test-requirements.txt python manage.py makemigrations python manage.py migrate python manage.py collectstatic --noinput python manage.py runserver
There are two requirements file. requirements.txt
is used to deploy the app in heroku and test-requirements.txt
are the dependencies for local testing and development.
Testing
To run the unit tests.
python manage.py test lists accounts
To run the functional test you should have the latest geckodriver for firefox installed. Also make sure you're using selenium
version specified in the geckodriver release page.
python manage.py test functional_tests
Deploying
Want to setup quickly, Simply deploy the app in heroku using the the following button.
Make sure to configure the EMAIL_PASSWORD
variable if you want to use the sign up process. If you're on gmail, generate an app password specific for this.
heroku config:set EMAIL_PASSWORD='email-passoword'