Yelp Clone!
This app powers nomster located here
-
Rails 5.0.0 or higher
-
Ruby 2.3.1 or higher
-
PostgreSQL 9.3.11 or higher
Download vagrant files here: vagrant.zip
Save to your Desktop
Unzip the file, it will create a folder called vagrant on your Desktop. This is where all your web development environment will live.
Go to the VirtualBox Website, click the link to Download "OS X hosts". Open the dmg file that downloads, then double click on VirtualBox.pkg that pops up and follow the instructions (you're clicking continue most of the time). Once you go through that step close out the "VirtualBox" window.
Go to the Vagrant Download Page, click Find the Mac OS X section and click "Universal (32 and 64-bit)". Run the file you downloaded and follow the instructions (you're clicking next most of the time)
cd ~/Desktop/vagrant
vagrant up
vagrant ssh
Generate SSH Key Inside the web development terminal window, where it says [Web Dev] in blue, run the following lines one by one. important note: the command has backticks (`) not single-quotes ('), either copy and paste the command or if you type it use the key to the left of the 1 to type the backtick in the first line:
eval `ssh-agent -s`
ssh-keygen -t rsa -C "Firehose Vagrant" -N '' -f ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa
update the heroku-cli with the following command:
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
heroku login
heroku keys:add
curl https://gist.githubusercontent.com/kenmazaika/fa8ea7dfbae413638cfd111b974bc74a/raw/ecb5e91c044d92389d0cfd3c2229e57187384d6d/github_auth.rb > ~/.firehose-github.rb && ruby ~/.firehose-github.rb
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
cd /vagrant/src/flixter
rails s -b 0.0.0.0 -p 3000
git clone git@github.com:clarkngo/grammable.git
$ cd grammable
$ rails db:create
$ rails db:migrate
$ rake db:seed
$ rails server
or
$ rails s
$ git push heroku master
$ heroku run rake db:migrate
Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:
grammable is released under the MIT license.
copyright:: (c) Copyright 2019 Clark Jason Ngo. All Rights Reserved.