Go to github.com to https://github.com/annagriffin/sd18FinalProject
This github repo holds the code that this program uses. The templates folder holds the html pages that are accessed in the program's code.
Fork Repository
Clone Repository
git clone https://github.com/annagriffin/sd18FinalProjectDownload the following modules by running this line of code
$ pip install -r requirements.txtYou will now have
Open sqlite3 and name the new database, in this case, we called it database.db
Make sure that you have the correct path to the database you just created. Replace the part highlighted in red with the one on your own computer.
Now you're ready to run the application. In the terminal, run the app
$ python hello.py * Running on http://127.0.0.1:5000/The app will now be running on http://127.0.0.1:5000/ which is the address of your local computer.
Step 0: Create a user profile if you don't already have a profile
Step 1: Log In, you will be directed to the dashboard page. From this page, you will see which activities you are working on and a progress bar showing how close you are to the goal that was set. If this is the first time logging in, it should be blank.
Step 2: Click the green plus sign to add an event. You will be redirected to a new page.
Step 3: At this page, fill out the form (one for activity name and another for the time goal) and then submit the form. You will be redirected to the dashboard.
Step 4: Now at the dashboard, a new tile will appear with the name of the activity and a progress bar as well as a button below the progress bar named "Add". Pressing this button reloads the page and updates the table, which in turn updates the progress bar. There are also buttons to subtract time and to clear the progress bar.