Created
March 21, 2020 05:57
-
-
Save ivaninkv/804185b5bc8aa47f2d1ba355a5d445bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sudo apt update | |
sudo apt install -y ruby-full ruby-bundler build-essential | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv D68FA50FEA312927 | |
sudo bash -c 'echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" > /etc/apt/sources.list.d/mongodb-org-3.2.list' | |
sudo apt update | |
sudo apt install -y mongodb-org | |
sudo systemctl start mongod | |
sudo systemctl enable mongod | |
cd ~ | |
git clone -b monolith https://github.com/express42/reddit.git | |
cd reddit && bundle install | |
puma -d | |
ps aux | grep puma |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment