-
Notifications
You must be signed in to change notification settings - Fork 1
Develop locally
There are some easy ways to work locally. We assume that you have a local kubernetes (like minikube
) up and running and the newest version of the application is deployed. It is recommended to use some kubernetes helper like the VSCode kubernetes extension.
If you only want to do frontend development, just execute kubectl port-forward -n BACKENDPOD 5000:5000
. With this it will be like you have the backend running locally. Navigate to services/frontend-image/src
and execute yarn
if you need to update dependencies. To run the frontend in development mode locally, execute yarn start
.
Have fun developing locally! If you want to run tests or lint, execute yarn test
or yarn lint
.
- Run
kubectl port-forward -n ENV YOUR_POSTGRES_POD 5432:5432
- Set the
POSTGRES_USER
andPOSTGRES_PASSWORD
env variables to right values(usingexport
etc) cd services/python-images
pip install -r requirements.txt
python server.py
You now have your backend running locally. To start the frontend as well, follow the steps above.
There is no easy way to run the scheduler locally, since it needs to execute in cluster commands.
You can swap the deployment from your minikube cluster using Telepresence and by setting the env variable IN_CLUSTER
to false
.
- Home
- Setup
- API Documentation
- Data model
- How to...
- ...add a new remote database
- ...create migrations
- ...develop locally
- ...simplified dev setup
- ...deploy on kubernetes (internal)
- ...monitor the cluster
- ...fix expired K8s certificates
- ...add new dependencies
- ...rebuild base image
- ...add a new algorithm in R
- ...add support for new language
- ...add a new node to Kubernetes cluster
- Coding Conventions
- Roadmap
- Ownership