Git Product home page Git Product logo

concord's Introduction

Ops

Global npm packages

npm install yarn -g

created using https://www.npmjs.com/package/create-vue-app

Kubernetes Setup

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).

Docker Setup

GCP

Windows

  • 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

Docker compose steps

  • 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

Prod

  • command for vue is yarn prod
  • command for rails is rails server -e production

TODO

concord's People

Contributors

ty-po avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar Dustin Luong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.