A Django web application for setting and tracking personal goals.
| License: | MIT |
|---|
- Python 3.6
- Django 1.11
- Postgres 9.2 +
Clone this repo
Create and activate a virtualenv for your installation.
Install the project requirements:
$ pip install -r requirements/local.txt
Create a local Postgres database:
$ createdb goal_journal
Run Django migrations, load data for demo version and run the local development server:
$ python manage.py migrate $ python manage.py loaddata users goals journal $ python manage.py runserver
Point your browser to http://127.0.0.1:8000/ to get started
Sign in to the demo account to view the full set of features:
Username: demo_user
Password: demo_password
Set goals for yourself
Take action to achieve your goals
Track your progress with goal scores, charts and journal
Works great on mobile
Moved to settings.
To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
To create an superuser account, use this command:
$ python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run manage.py test $ coverage html $ open htmlcov/index.html
$ py.test
Selenium tests require a browser-specific driver . You can download Geckodriver for Firefox here.
Then add to PATH by running this command from your downloads folder:
$ mv geckodriver /usr/local/bin
Moved to Live reloading and SASS compilation.
Follow these instructions to deploy and host your installation online with a free PythonAnywhere account.




