mirror of
https://github.com/neocities/neocities.git
synced 2025-06-15 08:54:31 +02:00
Improvements & fixes for vagrant staging
This commit is contained in:
parent
e6d2e4d29b
commit
b36a062eb4
7 changed files with 17 additions and 11 deletions
|
@ -10,4 +10,10 @@ ufw allow 9292
|
|||
|
||||
sudo su postgres -c "createuser -d vagrant"
|
||||
sudo su vagrant -c "createdb neocities"
|
||||
sudo su vagrant -c "createdb neocities_test"
|
||||
sudo su vagrant -c "createdb neocities_test"
|
||||
|
||||
sudo sh -c 'echo "local all postgres trust" > /etc/postgresql/9.3/main/pg_hba.conf'
|
||||
sudo sh -c 'echo "local all all trust" >> /etc/postgresql/9.3/main/pg_hba.conf'
|
||||
sudo sh -c 'echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/9.3/main/pg_hba.conf'
|
||||
sudo sh -c 'echo "host all all ::1/128 trust" >> /etc/postgresql/9.3/main/pg_hba.conf'
|
||||
sudo service postgresql restart
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
apt-get -y install python-software-properties
|
||||
apt-add-repository -y ppa:brightbox/ruby-ng
|
||||
apt-get -y update
|
||||
apt-get -y install ruby2.2 ruby2.2-dev
|
||||
gem install bundler --no-rdoc --no-ri
|
||||
apt-get -y install ruby2.3 ruby2.3-dev
|
||||
gem install bundler --no-rdoc --no-ri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue