Change postgres version 9.5 to 10 in docs/ and README.md

This commit is contained in:
Rishabh Nambiar
2018-10-01 09:42:52 +05:30
parent e262a08350
commit 0dd98982eb
5 changed files with 14 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ To get your Ubuntu 16.04 LTS install up and running to develop Discourse and Dis
whoami > /tmp/username
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get -yqq update
sudo apt-get -yqq install python-software-properties vim curl expect debconf-utils git-core build-essential zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libreadline6-dev libpcre3 libpcre3-dev imagemagick postgresql postgresql-contrib-9.5 libpq-dev postgresql-server-dev-9.5 redis-server advancecomp gifsicle jhead jpegoptim libjpeg-turbo-progs optipng pngcrush pngquant gnupg2
sudo apt-get -yqq install python-software-properties vim curl expect debconf-utils git-core build-essential zlib1g-dev libssl-dev openssl libcurl4-openssl-dev libreadline6-dev libpcre3 libpcre3-dev imagemagick redis-server advancecomp gifsicle jhead jpegoptim libjpeg-turbo-progs optipng pngcrush pngquant gnupg2
# Ruby
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
@@ -25,6 +25,8 @@ To get your Ubuntu 16.04 LTS install up and running to develop Discourse and Dis
rvm --default use 2.5.1 # If this error out check https://rvm.io/integration/gnome-terminal
gem install bundler mailcatcher rake
# Download and install postgresql-10 from https://wiki.postgresql.org/wiki/Apt
# Postgresql
sudo -u postgres -i
createuser --superuser -Upostgres $(cat /tmp/username)