:point_right: EGF Design and Build, the Foundry's DNA design ordering portal
This repository contains the source code of dab.genomefoundry.org,
a DNA construct design website of the Edinburgh Genome Foundry.
This project is based on the CAB
boilerplate, making it easy to create new apps with a form in the frontend and
custom computations in the backend. It features job
queues (with progress feedback for the user), form widgets like file uploaders,
help buttons, and many more.
This comes with the following advantages:
DAB app requires a good familiarity with Python, Vue, and
base knowlege of Docker and Git.
The next steps will download, install, and launch DAB on your computer.
Install docker
and docker-compose
on your machine. This step depends
on your machine (Windows, Linux, MacOS) so you’ll need to google it.
Download DAB from Github:
git clone git+github.com/Edinburgh-Genome-Foundry/DAB.git
DAB/
directory (the one containing this README and thedocker-compose.yml
) and launch your application in development mode. The
docker-compose up
localhost
or 127.0.0.1
in the address bar.docker-compose
will keep printing logs of the different componentsThe next steps will put your website on the web. Note that many other deployment
workflows are possible.
Get a hosting server (for instance from Amazon Web Services or Digital Ocean).
Get the IP address of this server (we’ll assume it is 123.12.123.123
).
Log in this server (ssh root@123.12.123.123
) and install Docker and
Docker-Compose (some Digital Ocean servers come with these already installed).
From your computer, in the DAB root directory, run the following command to
create a code repository on the distant server, and register that distant
repository under the name prodserver
./init_remote_git.sh root@123.12.123.123 DAB prodserver
DAB.git
, start the website in
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
123.12.123.123
,Every time you want to update the website, from your computer in the DAB root
directory run git push prodserver master
. You will need to rebuild the
containers on the server if you have modified the frontend or added dependencies
to the backend (we may simplify this later).
DAB is an open source software originally written by Zulko,
Isaac Luo and Aitor Bleda at the Edinburgh Genome Foundry
and released on Github under the MIT licence
(¢ Edinburgh Genome Foundry). Everyone is welcome to contribute !
EGF Codon is powered by the EGF Codons <https://edinburgh-genome-foundry.github.io></https:>
_
synthetic biology software suite for DNA design, manufacturing and validation.