Skip to content

Installation and deployment

Gonzalo Vidal edited this page Feb 21, 2024 · 3 revisions

Flapjack REST API

In addition to having the flapjack public site flapjack, users can install the system in their own servers or laptops. In order for this to work, you need to install the application in this back-end repository and also the interactive fron-end.

For a comprehensive documentation and deployment instructions, you can access the Flapjack backend documentation (in constant development).

This instructions cover the local installation of the back-end, for installing the client go to flapjack_frontend.

Install requirements

  • Git
  • docker>=18.09.5
  • docker-compose>=1.23.2

Installation


git clone https://github.com/SynBioUC/flapjack_api.git
cd flapjack_api/
docker-compose -f docker-compose.yml up --build

Make migrations

Enter to the docker container env and run migrations (execute the SQL commands):


docker exec -it api bash
python manage.py migrate

Data base exploration. Use password = 123456


docker exec -it api bash
psql -U guillermo -h db -d registry

Clone this wiki locally