GithubHelp home page GithubHelp logo

wellness-app's Introduction

Wellness

Requirements

  1. Install Python 3 along with pip. If you're running Linux, your distribution will provide packages you can use.
  2. Install NodeJS (16.17+) which comes along with npm (5.2+).

Setting Up the Virtual Environment

  1. Follow the instructions here to install the virtualenv and related tools
  2. Open a terminal and run virtualenv venv. This creates a virtual Python 3 environment where you can install packages specific to this app.
  3. Activate the virtual environment then install pip requirements with pip install -r requirements_pip.txt.

Running the Virtual Environment

Run the following command:

. venv/bin/activate (OSX/Linux)
. venv/Scripts/activate (Windows)

Stopping the Virtual Environment

Run deactivate to exit the virtualenv.

Running the Local Server

You will likely need two terminal instances.

You don’t need to restart the server(s) for code changes to take effect. However, some actions like adding files may not show up, so you’ll have to restart the server(s) in these instances.

Quit the server(s) with CONTROL-C.

Run Backend Server

  1. Navigate to the root folder of the repository.
  2. Run python manage.py runserver.

By default, the server will run on port 8000. http://127.0.0.1:8000/

Run Frontend Server

  1. Navigate to the root folder of the repository. Then navigate to /wellness_fe.
  2. Run npm start.

By default, the server will run on port 3000. http://127.0.0.1:3000/

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.