Steps to setting up my Quack application

Simon Lee
Simon Lee
Jun 26 · 2 min read

Here are the steps to setting up my Quack App. You can find it here on my github: https://github.com/Rakugen/

  • install xcode/command line tools
xcode-select — install
  • install homebrew (will ask for password)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • install git (usually pre-installed)
brew install git
  • install support libraries
brew install gmpbrew install gnupg
  • install ruby version manager (rvm)
curl -sSL https://get.rvm.io | bashsource ~/.bash_profilervm install 2.6.1rvm use 2.6.1 --default
  • update gems , bundler and nokogiri
gem update — systemgem install bundlergem install nokogiri
  • install sqlite
brew install sqlite
gem install rails
  • install node and node package manager (npm)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bash_profile

then:

echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"' >> ~/.bash_profile

refresh your terminal:

source ~/.bash_profile

Now you can clone the backend into a new folder and install it.

git clone https://github.com/Rakugen/Final-Project-Backend.gitbundle install

Now run rails to spin up the backend server.

rails s

Git clone the frontend into a new folder then install it.

git clone https://github.com/Rakugen/final-project-client.git

npm install

Now you can finally spin up the front end client, select yes for new port.

npm start

Enjoy! You can play around with the app, make sure to create a new user and new chatrooms. If you want to have other users on other computers/devices to also hop on the app, use your local ip address and “:3001" appended to the end in your browsers address bar. For example:

http://191.168.82.65:3001

When you’re all done, use ctrl + c to shutoff servers. Be sure to do this for both front and back end.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade