Skip to content

Latest commit

 

History

141 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisite

virtual environment running python 3.7
pip3 install virtualenv
virtualenv -p /usr/bin/python3.7 gw-web\

npm and node must be installed

Installation

source gw-web/bin/activate
git clone git@github.com:iotmaxx/gw-webinterface.git
cd gw-webinterface
source setup.sh

Run

flask run

Troubleshooting

  1. Make sure the virtual environment is installed correctly and activated

  2. Check if the environment variable FLASK_APP is set to gw_backend (echo $FLASK_APP). If it is not set run export FLASK_APP=gw_backend

  3. Check if the environment variables FLASK_RUN_HOST and FLASK_RUN_PORT are set to 0.0.0.0 and 3000 (echo $FLASK_RUN_HOST && echo $FLASK_RUN_PORT).
    If it is not set run export FLASK_RUN_HOST=0.0.0.0 && FLASK_RUN_PORT=3000

  4. Make sure all required frontend dependencies are installed correctly and the gw-backend/static contains the output from the build process

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages