GWAS catalogue for Arabidopsis thaliana
This is a Single Page App (SPA) that consists of a django backend and a VueJS frontend The Django backend acts as a REST endpoint for the VueJS frontend.
Aragwas_server requires Python 3.x and the aragwas_ui requires nodejs (> 6.x) and npm to be installed
- Install aragwas_server with
cd aragwas_server && pip install -r requirements.txt
- Install aragwas_ui with
cd aragwas_ui && npm install
- Start the aragwas_server with
cd aragwas_server && ./manage runreserver
(will run on localhost:8000) - Start the aragwas_ui with
cd aragwas_ui && npm run dev
(will run on localhost:3000)
Once you start aragwas_ui a new browser window should open the frontend part.
The frontend node server will also make sure to proxy all calls to /api/
to the django backend.
- Build aragwas_ui with
cd aragwas_ui && npm run build
- Start the aragwas_server with
cd aragwas_server && ./manage runserver
Open the browser on http://localhost:8000