This document describes how to setup and run the runfrog-site
(https://runfrog.de)site for local development.
For information on how to deploy the page see
./README_site_deploy.md.
The following technology is used in the runfrog-site
:
- Backend API:
fbc_curation
python package served using FastAPI [https://fastapi.tiangolo.com/] - Frontend User Interface: Vue.js 3 [https://vuejs.org/]
- TypeScript + SCSS
- Vuex
- Vue Router
- Frontend UI/UX Package: PrimeVue
Vue 3 is only working with the beta version of the devtools available from
https://github.com/vuejs/vue-devtools/releases.
For setup download and install the xpi
package.
Development should be run with node version 14. See here for installation instructions https://github.com/nodesource/distributions/blob/master/README.md#deb
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
cd runfrog-site
npm install
To run the local development server on http://localhost:4567/
npm run serve
In addition, the API must be served locally via
(frog) python src/fbc_curation/api.py
Buildkit must be enabled via https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds To enable docker BuildKit by default, set daemon configuration in /etc/docker/daemon.json feature to true and restart the daemon:
{ "features": { "buildkit": true } }
docker-compose -f docker-compose-develop.yml up --detach