Final project for CPSC 490
Ensure python3 and pip3 are installed. Then do the following:
pip install virtualenvvirtualenv -p python3 venv; source venv/bin/activatepip install -r requirements.txtnpm install- Replace the line with
PATHin~/.profilewith the following:PATH="$HOME/bin:$HOME/.local/bin:./node_modules/.bin:$PATH" - Install and set up Tensorflow and its dependencies (on a computer with a GPU only)
In one terminal window, run ./setup.sh or:
export FLASK_APP=capgenexport FLASK_DEBUG=1source venv/bin/activatewebpack --watch &python run.py
While the Flask server and Webpack are running, run lt --port=5000 in a separate terminal window (ensure localtunnel is installed first). Then, open the returned link in your web browser. Or just use port forwarding...