Simple blob storage + notes frontend.
Barebones, totally local development environment.
- central cloned + running locally
- opam
brew install opam
- dune
- yarn
- postgres
- libpq
brew install libpq
- openssl
brew install openssl
Complete the prerequisites found at Central.
Create database.env
at the root of the repository:
PGUSER=jakekinsella
PGPASSWORD=
PGHOST=localhost
PGPORT=5432
PGDATABASE=blob
createdb blob
make install
cd blob && make migrate
cd blob && make start
cd notes && make start
Navigate to http://localhost:8280
Complete the prerequisites found at Central.
eval $(minikube docker-env)
sudo sh -c 'echo "127.0.0.1 blob.cluster.local" >> /etc/hosts'
sudo sh -c 'echo "127.0.0.1 notes.cluster.local" >> /etc/hosts'
eval $(minikube docker-env)
make local-publish
make local-deploy
Navigate to https://notes.cluster.local/login
Complete the prerequisites found at Central.
Environment variables:
export AWS_ACCESS_KEY_ID=???
export AWS_SECRET_ACCESS_KEY=???
export AWS_ACCOUNT_ID=???
export AWS_DEFAULT_REGION=us-east-1
Initialize the build depedencies:
make aws-init
Set up the ECR repo:
make aws-repo
Export the Control Plane IP:
export CONTROL_PLANE_IP=???
export NODE_IP=???
Deploy the cluster:
make cluster-publish
make cluster-deploy VERSION=???
- Add link sharing for blob/notes