Skip to content

Instantly share code, notes, and snippets.

@marcomorain
Created March 23, 2015 11:52
Show Gist options
  • Select an option

  • Save marcomorain/30ae808f2849dd219ef7 to your computer and use it in GitHub Desktop.

Select an option

Save marcomorain/30ae808f2849dd219ef7 to your computer and use it in GitHub Desktop.
CircleCI Postgres Finnish
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