GithubHelp home page GithubHelp logo

exercise-tracker's Introduction

Exercise Tracker

Web app to track your workouts.

Requirements

Python 3.8 or newer

Setup

-Clone the repository git clone https://github.com/dinis-it/Exercise-Tracker.git

Change into project directory

cd <project_name>

Make virtual environment

mkvirtualenv <project_name>

Activate virtual environment

workon <project_name>

Install requirements

pip install -r requirements.txt

Setup (if necessary)

fab loc setup

Start the development server

python manage.py runserver

For user-specific settings, do not modify the loc.py file. Rather, create a .py settings file that imports the local settings. It is recommended that you push your user-specific settings into version control along with everything else, but should not include any secrets. To run the development server with your user-specific settings:

python manage.py runserver --settings=core.settings.

###DEPLOYMENT

Projects are deployed to the application user's home directory in: /home/apps/sites

Deployment is by direct clone from git. The name of the git repository will be the name of the directory in sites that is created by the git clone command.

Do this once before the intial deployment (replace stg with prd for production)

fab stg setup

Do this to deploy (replace stg with prd for production)

fab stg deploy

###REQUIRED ENVIRONMENT VARIABLES:

DJANGO_SETTINGS_MODULE
DJANGO_SECRET_KEY
WORKON_HOME (set manually if not using mkvirtualenv)

exercise-tracker's People

Contributors

dinis-it avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.