pull/7/head
Adam Veldhousen 12 months ago
parent 49c01169d3
commit cdcae78359
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -2,6 +2,8 @@
Search and get alerts for items across the most popular auction sites.
Built with microservice architecture, for learning purposes
### Links
- [Keybase Team Chat](keybase://team/barretthousen)
@ -16,7 +18,6 @@ Search and get alerts for items across the most popular auction sites.
1. Ability to search upcoming and live auctions across major auction sites
2. Get an email digest of upcoming auctions for the week
Future goals
1. Get email alerts when these auctions are about to go live
@ -65,9 +66,18 @@ Monolithic postgres datbabase tying it all together
Install `asdf` and run `hack/asdf_plugin_setup`
```sh
make setup # install asdf stuff and build tooling
# install asdf tools, build tooling, encryption key for sops
make setup
# generate protobufs and sql boilerplate
make gen
# spin up a k8s cluster, build and deploy services locally w/ hot reloading
make dev
make gen # generate protobufs and sql boilerplate
# build production docker images for the backend microservices, optionally push to the respective env
make build-backend-image SERVICE=[catalog, runner, proxy-client, proxy-admin] [ENV=[beta, prod]]
make dev # spin up a k8s cluster, build and deploy servicces w/ hot reloading
# build client docker image for web frontends, optionally push to the respective env
make build-client-image SERVICE=[web-client] [ENV=[beta, prod]]
```

@ -18,6 +18,9 @@ spec:
imagePullPolicy: Always
stdin: true
tty: true
env:
- name: ORIGIN
value: https://barretthousen.com
ports:
- containerPort: 80
name: http

@ -62,3 +62,6 @@ patches:
- op: replace
path: /spec/template/spec/containers/0/image
value: git.vdhsn.com/barretthousen/client-web-client:beta
- op: replace
path: /spec/template/spec/containers/0/env/0/value
value: https://beta.barretthousen.com

@ -2,10 +2,8 @@ FROM node:lts AS build
ARG origin=https://barretthousen.com
ENV PROTOCOL_HEADER=x-forwarded-proto
ENV HOST_HEADER=x-forwarded-host
ENV ADDRESS_HEADER=True-Client-IP
ENV ORIGIN=${origin}
WORKDIR /opt/web-client
@ -30,7 +28,6 @@ ARG origin=https://barretthousen.com
ENV ENV=production
ENV PROTOCOL_HEADER=x-forwarded-proto
ENV HOST_HEADER=x-forwarded-host
ENV ADDRESS_HEADER=True-Client-IP
ENV ORIGIN=${origin}
WORKDIR /opt

Loading…
Cancel
Save