Skip to content

wmahad/Bucketlist

Repository files navigation

Bucket List app. Build Status Coverage Status

"Before the day I die I must touch the sky". Alot of people have such phrases. The app helps track the things you would want to do before the day you die. ###Features View the live demo and documentation of the application.

###Installation

  1. ######Requirements Ensure that python is installed on your machine, if not follow the link Installing python.
  1. ######Installing virtualenvwrapper A Virtual Environment is a tool to keep the dependencies required by different projects in separate directories on a computer. To install virtualenvwrapper follow the link installing virtualenvwrapper.
  2. ######Cloning the repo

To clone the repo type the following command in terminal:

$ git clone git@github.com:andela-engmkwalusimbi/Bucketlist.git

To install all app requirements type these command in your terminal one after the other:

$ cd BucketList
$ pip install -r requirements.txt
  1. ######Setting up enviroment variables To set up enviroment variables follow the Setting env variables, so as they can be used with your app. Ensure your create DATABASE_URL and SECRET in your env variables.

  2. ######Managing Database set up To get started install Postgres on your local computer if you don’t have it already. if you haven't follow this Setting up postgresql and choose your appropriate OS. Run the following commands on the terminal to set up tables and manage upgrades to tables if you change your models.

  • To create migrations, run the migrate command:
$ python manage.py migrate

Your database is now ready to use with the app.

###Running the APP

To run the APP type the following command in your terminal:

$ python manage.py runserver

And the response on the terminal will look like:

System check identified no issues (0 silenced).
January 21, 2016 - 11:55:00
Django version 1.9, using settings 'checkpoint3.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

The default url is http://127.0.0.1:8000/. Use this in the browser of your choice.

###Running tests

To run tests type the following command in terminal:

$ python manage.py test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published