This is the repository for the Alpha Team App. The application is a web application that allows users to visualise and analyse complex networks. The application is built using Flask.
Read our scientific paper here.
- Clone the repository
- Navigate to the backend directory and run
export FLASK_APP=app.pyfor Linux/Mac orset FLASK_APP=app.pyfor Windows
- Run
flask run --host=0.0.0.0 --port=8000to start the backend server - Open another terminal and navigate to the application directory
- Run
flask run --host=0.0.0.0 --port={chosen port}to start the frontend server - Open your browser and go to
http://127.0.0.1:{chosen port}
Install Docker and Docker Compose on your machine. You can find the instructions here.
- Clone the repository
- Run
docker build -t alphateamapp .in the root directory of the project to build the Docker image - Run
docker run -d -p 8000:8000 -p 3000:3000 --name alphateam alphateamappto start the application - Open your browser and go to
http://127.0.0.1:3000 - Enjoy!
- (Optional) Run
docker logs -f alphateamto see the logs of the container
You can run docker pull airscholar/alphateamapp to pull already built image and then run the container using
the command in step 3 above.
You can view the documentation in the docs/ directory. The documentation is generated using Sphinx.
In the root directory of the project, run sh generate_docs.sh to regenerate the documentation.
