Sam edited this page Feb 7, 2019 · 16 revisions

This application is written in Python (API) and Javascript (client):

Sports and weather icons are made by Freepik from www.flaticon.com.

Prerequisites

Installation

The following steps describe an installation on Linux systems (tested on Debian and Arch).
On other OS, some issues can be encountered and adaptations may be necessary.

Dev environment

  • Clone this repo:
$ git clone https://github.com/SamR1/FitTrackee.git
$ cd FitTrackee
  • Update Makefile.config file if needed and copy/paste the ThunderForest and Dark Sky API keys value in Makefile.custom.config file (see example)

  • Install Python virtualenv, React and all related packages and initialize the database:

$ make install-dev
$ make install-db
  • Start the server and the client:
$ make serve

Open http://localhost:3000 and login (the email is admin@example.com and the password mpwoadmin) or register

Prod environment

  • Download the last release (for now it is the beta release v0.1.1):
$ wget https://github.com/SamR1/FitTrackee/archive/v0.1.1-beta.tar.gz
$ tar -xzf v0.1.1-beta.tar.gz
$ mv FitTrackee-0.1.1-beta FitTrackee
$ cd FitTrackee
  • Update Makefile.config file if needed and copy/paste the ThunderForest and Dark Sky API keys value in Makefile.custom.config file (see example)

  • Install Python virtualenv, React and all related packages and initialize the database:

$ make install
$ make install-db
  • Build the client:
$ make build-client
  • Start the server and the client:
$ make run

Open http://localhost:3000, log in as admin (the email is admin@example.com and the password mpwoadmin) and change the password

Upgrade

TODO

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.