Skip to content

kevt0r/yellowtail

 
 

Repository files navigation

Yellowtail

the social network for wine enthusiasts.

let's throw some grapes on the barby, mate

Pour yourself a glass

Bootstrapping

Part 1: Downloading the project

  1. Open up the Terminal application and run this line to install the command line tools you'll need: xcode-select --install
  2. Clone (download) the repository by running this line: git clone https://github.com/rubyandrose/yellowtail.git. You've just downloaded a personal copy of your team's project!
  3. Paste this line into your terminal: cd yellowtail to enter the new directory you just created.

Part 2: Setting up your credentials

  1. Paste this line into your terminal: touch .env.local - you'll create a new file. We'll use this file to store some credentials your app will need.
  2. Now let's open that file up by pasting open -a TextEdit .env.local into your terminal.
  3. Go to the #ruby-and-rose Slack channel and open up the pinned messages. Find the one with GOOGLE_CLIENT_ID and click on it.
  4. Copy the contents of that message (both lines) into the file you opened in TextEdit and save the file. Close TextEdit.

Part 3: Telling your computer where to find Ruby

  1. We're about to install the Ruby programming language, but your computer is going to need to know how to find it. Run open -a TextEdit ~/.bash_profile to open up a file where we put such handy info.
  2. You may see other content in that file - totally okay! Just ignore it and add a new line.
  3. Paste eval "$(rbenv init -)" onto that new line. Then save and close the file.
  4. Run source ~/.bash_profile in Terminal to tell your computer to refresh that file and accept the changes

Part 4: Installing the requirements

  1. Now let's install all the things our project needs to run. Paste script/setup.sh into your terminal. This will start installing everything from the Ruby programming language to the database we're going to need to all the supporting tools that power our web app. This step may take a few minutes. If the script is still running after five minutes, grab a mentor.
  2. Sometimes install scripts hit unexpected roadblocks. If you hit errors, grab a mentor.

Part 5: Profit

  1. Assuming your script ran successfully, type rails s to start your app.
  2. Open a new tab in your browser and go to http://localhost:3000. You should see a wine glass and a log in message. If so, you're all set!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.0%
  • HTML 12.7%
  • Shell 8.5%
  • JavaScript 1.5%
  • CSS 0.3%