create extension
This commit is contained in:
parent
cb1b654c7c
commit
1351d72a72
|
@ -193,6 +193,7 @@ function pleroma_create_database {
|
||||||
run_system_query_postgresql "ALTER USER pleroma SUPERUSER;"
|
run_system_query_postgresql "ALTER USER pleroma SUPERUSER;"
|
||||||
run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
|
run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
|
||||||
run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
|
run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
|
||||||
|
run_system_query_postgresql "CREATE EXTENSION citext;"
|
||||||
|
|
||||||
pleroma_secret=config/dev.secret.exs
|
pleroma_secret=config/dev.secret.exs
|
||||||
cp config/dev.exs $pleroma_secret
|
cp config/dev.exs $pleroma_secret
|
||||||
|
@ -517,7 +518,7 @@ function install_elixir {
|
||||||
dpkg -i $erlang_package
|
dpkg -i $erlang_package
|
||||||
apt-get -yq update
|
apt-get -yq update
|
||||||
apt-get -yq install esl-erlang
|
apt-get -yq install esl-erlang
|
||||||
apt-get -yq install elixir
|
apt-get -yq install elixir erlang-xmerl
|
||||||
|
|
||||||
if [ ! -f /usr/local/bin/mix ]; then
|
if [ ! -f /usr/local/bin/mix ]; then
|
||||||
echo $'/usr/local/bin/mix not found after elixir installation'
|
echo $'/usr/local/bin/mix not found after elixir installation'
|
||||||
|
|
Loading…
Reference in New Issue