Created
February 2, 2019 19:12
-
-
Save ziyan-junaideen/480b008008dabea64c5d1d01608f09e4 to your computer and use it in GitHub Desktop.
Install Dicidim
This file contains hidden or 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
app=decidim | |
sudo apt-add-repository -y ppa:rael-gc/rvm | |
sudo apt update | |
sudo apt dist-upgrade | |
sudo apt install software-properties-common | |
sudo apt install imagemagick libmagickwand-dev | |
sudo apt install postgresql postgresql-contrib libpq-dev | |
sudo apt install redis-server | |
sudo apt install nodejs | |
sudo apt-get install rvm | |
sudo apt install nginx | |
rvm install 2.6.1 | |
gem install decidim | |
cd /var/www | |
decidim $app | |
cd $app | |
bundle | |
This file contains hidden or 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
sudo -u postgres createuser -s decidim | |
sudo -u postgres psql | |
\password decidim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment