Skip to content

leogoesger/func-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional Flows Calculator

Build Status

About

This project uses Python3

Getting Started in 4 simple steps (Mac OS)

  1. Install Python3, Git and a text editor of your choice.

  2. Clone your project in Terminal

    git clone https://github.com/leogoesger/func-flow.git
    cd func-flow/
    
  3. Create and activate virtualenv

    python3 -m venv my-virtualenv
    source my-virtualenv/bin/activate
    
  4. Install dependencies. Due to package dependencies numpy must be installed first.

    pip install numpy
    pip install -r requirements.txt
    

Getting Started in 5 steps (Windows)

  1. Install Python3, Git and a text editor of your choice.

  2. Add Python to System Path

    • Locate Python3 from your local computer. Usually located in the following folder:

      C:\python3
      

      or

      C:\Users\your-name\AppData\Local\Programs\Python\Python36-32
      
    • Follow this link from step 2 to the end.

    • Go into Command Prompt by typing cmd in search bar, and type python. You should see the following:

      Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
      [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
      Type "help", "copyright", "credits" or "license" for more information.
      >>>
      
    • Type exit() to exit the python shell.

  3. Clone your project in Command Prompt

    git clone https://github.com/leogoesger/func-flow.git
    cd func-flow
    
  4. Create and activate virtualenv

    python -m venv my-virtualenv
    my-virtualenv\Scripts\activate
    
  5. Install dependencies

    pip install -r requirements.txt
    

Run Script

  1. In project directory

    python main.py
    

Development

  1. For older to newer python upgrade

    python server, when not able to create python env
    python -m venv test --without-pip
    source test/bin/activate
    curl https://bootstrap.pypa.io/get-pip.py | python
    

Error and Bug

Use Trello to keep upload error message, a screen shot, and raw data file used

Options

iTerm: iTerm2 is a replacement for Terminal

find . -name '*.rdb' -exec sh -c 'mv "$0" "${0%.rdb}.csv"' {} \;

  pip freeze > requirements.txt

Flask server

To start flask server, first init virtualenv and then install all dependencies. flask run

/usr/local/stow/node-v8.9.4-linux-x64/lib/node_modules/pm2/bin/pm2 restart eflow-flask-api

License

Copyright (c) 2018

Licensed under the MIT license.

About

Functional Flow Calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages