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
- install the Postgres app at Postgres.app
- install rails
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
echo '[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"' >> ~/.bash_profile
refresh your terminal:
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.
Git clone the frontend into a new folder then install it.
git clone https://github.com/Rakugen/final-project-client.git
Now you can finally spin up the front end client, select yes for new port.
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:
When you’re all done, use ctrl + c to shutoff servers. Be sure to do this for both front and back end.