Skip to content

Getting Started for Developers

Ben edited this page Apr 2, 2020 · 1 revision

How to get started running code in this project

Install Docker and git, then

git clone https://github.com/allofphysicsgraph/proofofconcept.git
cd v7_pickle_web_interface/
docker-compose build --progress tty
docker-compose up

If you don't want to use docker-compose, use

git clone https://github.com/allofphysicsgraph/proofofconcept.git
cd v7_pickle_web_interface/web/
python create_tmp_db.py
docker build -t flask_ub .
docker run -it --rm --publish 5000:5000 flask_ub

Then open a web browser and visit http://localhost:5000

If you want to explore the innards of the container,

python create_tmp_db.py
docker build -t flask_ub .
docker run -it --rm --entrypoint='' --publish 5000:5000 flask_ub /bin/bash

Inside the container you can use make to see what options are available