Global npm packages
npm install yarn -g
created using https://www.npmjs.com/package/create-vue-app
- https://skaffold.dev/docs/quickstart/
minikube start
skaffold dev
You will have to provide application keys to ruby via either master.key (for me) or by adding them like this: TODO: what to do here
You will also need to edit host-configmap.yaml to be the address of your minikube instance (this can change between restarts).
- Compute Engine > Create a new, Make a new instance (weve been using n1-standard-1)
- Container Optimized OS, enable http/https
- Network > VPC Network, create a new rule for tag
docker
with tcp3000, 8080
- get on it, clone repo
- https://cloud.google.com/community/tutorials/docker-compose-on-container-optimized-os heading Making an alias to Docker Compose
- On windows honestly a disaster
- install docker for windows (enable virtualization and hyper v (if you have it if not set up vbox))
- ???install minikube maybe???
- set up WSL cause yes please linux shell
- change wsl conf to mount windows drives at /c instead of /mnt/c cause docker expects it
- install https://github.com/goreliu/wsl-terminal for solarized and nice fonts
- get fix for wsl-terminal for the updated mount location (mskyaxl/wsl-terminal#129 (comment))
- in wsl terminal from this point
- install docker
- install docker-compose
- ???install probably some interface for minikube???
- go to a path inside of /c/ (i use /c/dev/)
- git clone this
-
make a private/public key pair for ssh, rename public key to
authorized_keys
and place in./vm
-
set your external host name (localhost if you're running locally. your external IP or domain if on GCP) with
export CONCORD_EXTERNAL_HOST="localhost"
-
docker-compose build
-
either copy ruby/config/master.key in or set up a new secrets file using this command
()()()
with this format: ()()() -
docker-compose up
-
docker-compose run api rake db:create
-
docker-compose run api rake db:migrate
-
ssh into your external ip at port 2222 to get into your development instance of debian
- command for vue is
yarn prod
- command for rails is
rails server -e production
- frontend integration of https://github.com/discordjs/discord.js and https://github.com/thelinmichael/spotify-web-api-node