Created
March 23, 2015 11:52
-
-
Save marcomorain/30ae808f2849dd219ef7 to your computer and use it in GitHub Desktop.
CircleCI Postgres Finnish
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
| machine: | |
| environment: | |
| PGDATA: /var/lib/postgresql/9.4/main | |
| pre: | |
| - sudo locale-gen fi_FI.UTF-8 # Install Finnish | |
| # Re-create database in Finnish | |
| - sudo -E -u postgres /usr/lib/postgresql/9.4/bin/pg_ctl stop | |
| - sudo -E -u postgres rm -r $PGDATA | |
| - sudo -E -u postgres /usr/lib/postgresql/9.4/bin/initdb --lc-collate fi_FI.UTF-8 --lc-ctype fi_FI.UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment