Skip to content

greenbits/captains-cake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captains Cake

Setting up Dependencies

  1. Install docker
  2. Install rbenv/nodeenv
$ brew install rbenv nodenv

# If you're going to be working in node
$ nodenv init
$ export node_version=`cat ./node-express/.node-version`
$ nodenv install $node_version


# If you're going to be working in ruby
$ rbenv init
$ export ruby_version=`cat ./ruby-sinatra/.ruby-version`
$ rbenv install $ruby_version

Setting up Backing Services:

$ (cd docker && docker-compose up -d)

This will launch the services specified in the docker-compose.yml file

Service Name Address Description
Mysql docker_mysql-database_1 127.0.0.1:11001 A Mysql instance, username is root

To stop the services you can run:

$ (cd docker && docker-compose down)

About

Engineering Interview Materials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published