sp-builder-static v0.2.0
Development
Client & Server
First:
yarn installServer
You'll need a local Kubernetes cluster. Kubernetes for Docker for Mac and minikube should both work.
You'll also need helm on your PATH.
To boot everything up initially:
npm run env:dev
npm run serverTo view output logs on local Kibana:
npm run server:logsThen, after you've made some local changes and you want to deploy them to the cluster without rebuilding everything:
npm run server:apply [packages you want to deploy]Client Development
If you want to develop the client against the staging server, that's fine, just run:
npm run env:nextThen, to boot up the web, Electron, and React Native client apps:
npm run clientElectron, Web, and the iOS Simulator should work out of the box. To get Android emulators working
you'll probably need to forward port 80 on the device with adb.
adb root
adb reverse tcp:80 tcp:80Development Environment Known Issues
Sometimes stuff just doesn't come up.
- Usually it's
sp-api-serverorsp-schemafor whatever reason. Usually it can be resolved with akubectl get podsandkubectl delete pod [malfunctioning-pod-name].
- Usually it's
Sometimes
sp-frontendtakes a ton of time to compile and makes the computer's fan spin like crazy.- Yup. This one is currently a mystery to me. Deleting the
sp-frontendpod usually speeds it back up. If we can track this one down, potentially we can file a bug with Docker for Mac or create-react-app.
- Yup. This one is currently a mystery to me. Deleting the
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago