Do the following steps from within the notes-ui
directory:
- create an
.htpasswd
file:htpasswd -c .htpasswd vmworld
- edit
src/environments/*
, updating the api_url appropriately - build the image:
./build.sh dispatchframework/notes-ui:0.0.1
- push the image (optional):
docker push dispatchframework/notes-ui:0.0.1
Locally:
docker run -p80:80 dispatchframework/notes-ui:0.0.1
Hosted:
kubectl apply -f deployment.yaml
Do the following steps from within the notes-server
directory:
-
Create the azure postgres service (this takes a long time ~10 minutes):
dispatch create -f postgres.yaml
-
Create the image which includes the required python depenencies:
dispatch create -f image.yaml
-
Create the functions:
dispatch create -f function.yaml
-
Create the api:
dispatch create -f api.yaml
Repeat the steps for creating the server, with dispatch delete -f <file>