GithubHelp home page GithubHelp logo

hw10_axle's Introduction

hw10_axle

To run

Option 1 - Run the script (Mac and *nix systems:

  1. Get permission to run the script:
    • chmod a+x ./run.sh
  2. Run it
    • ./run.sh

Option 2 - Manually build and run it yourself:

  1. Build front end:
    1. Have node installed. If not, see http://nodejs.org.
    2. From the directory of this project go to React directory:
      • cd [root]/react-front-end
    3. Build node project:
      • npm install
      • npm run-script build
  2. Go back to root directory:
    • cd ../
  3. Run back end:
    1. (Optional) RECOMMENDED: create python virtual environment and activate it:
      1. Install vitrualenv if not already installed:
        • pip3 install --user virtualenv
      2. Create the virtual environment:
        • python3 -m venv env
      3. Activate the virtual environment:
        1. Mac/*nix system:
          • source [root]/env/bin/activate
        2. Windows:
          • [root]\env\Scripts\activate.bat
      4. Go back to project root:
        • cd ../
    2. Go to back end directory:
      • cd [root]/flask-api
    3. Install python dependencies:
      • pip3 install -r requirements.txt
    4. Start the server using the local flask executable:
      • [root]/env/bin/flask run
  4. Goto http://localhost:5000 and have fun!

hw10_axle's People

Contributors

zandermax avatar

Watchers

James Cloos avatar  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.