This was created during my time as a student at Code Chrysalis.
The Curated Preprint Server for Genomics & BioInformatics.
You will need postgres installed. If you haven't installed it already, download and install the PostgresApp and verify its working by running the command psql in your terminal.
Create a database for this project by running:
echo "CREATE DATABASE biorxiv | psqlYou will need migrate installed. If you haven't installed it already, execute brew install golang-migrate in your MacOS.
Then, create a database schema using the following command.
# Update the database
migrate -path ./db/migrations -database postgres://postgres:postgres@localhost:5432/biorxiv?sslmode=disable up
# Rollback the database
migrate -path ./db/migrations -database postgres://postgres:postgres@localhost:5432/biorxiv?sslmode=disable downYou will need dep installed. If you haven't installed it already, execute the following commands in your MacOS.
brew install dep
brew upgrade depcd server
make runcd client
yarn servedocker-compose up
./setup4docker.shExample:
docker build . -t biorxivgoback:dev
docker run --rm -p 9000:9000 biorxivgoback:dev
