Fix for current HEAD server setting files.
This commit is contained in:
parent
c2260a2354
commit
0c6424d384
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ matrix:
|
|||
- cp server/config.yaml.dist config.yaml
|
||||
- sed -i -e 's/^#database:$/database:\ postgres:\/\/szuru:dog@localhost:5432\/szuru_test/' config.yaml
|
||||
- sed -i -e 's/^#elasticsearch:/elasticsearch:/' config.yaml
|
||||
- sed -i -e 's/^# host: localhost$/ host: localhost/' config.yaml
|
||||
- sed -i -e 's/^# port: 9200$/ port: 9200/' config.yaml
|
||||
- sed -i -e 's/^# index: szurubooru$/ index: szurubooru/' config.yaml
|
||||
- sed -i -e 's/^#\ \ \ \ host: localhost$/\ \ \ \ host: localhost/' config.yaml
|
||||
- sed -i -e 's/^#\ \ \ \ port: 9200$/\ \ \ \ port: 9200/' config.yaml
|
||||
- sed -i -e 's/^#\ \ \ \ index: szurubooru$/\ \ \ \ index: szurubooru/' config.yaml
|
||||
- sudo -i -u postgres createuser szuru -D -R -S
|
||||
- sudo -i -u postgres createdb szuru_test
|
||||
- sudo -i -u postgres psql -c "ALTER USER szuru PASSWORD 'dog';"
|
||||
|
|
Reference in a new issue