Commit 1e1f850f authored by HQ's avatar HQ
Browse files

Various improvements

parent 2fc1f9d6
......@@ -12,7 +12,7 @@ TARTARGET=
GIT=https://github.com/discourse/discourse.git
GITTARGET=/var/discourse
PREEXEC=/tmp/files/preexec.sh
DEBS=postgresql-10 libgdbm-dev libncurses5-dev automake libtool bison libffi-dev gawk g++ libssl-dev make zlib1g-dev libyaml-dev libsqlite3-dev sqlite3 libgmp-dev pkg-config libgmp-dev libreadline6-dev libpq-dev redis-server ruby-rmagick imagemagick optipng jhead jpegoptim gifsicle postfix software-properties-common ruby-sidekiq-cron npm ruby ruby-dev
DEBS=postgresql-10 libgdbm-dev libncurses5-dev automake libtool bison libffi-dev gawk g++ libssl-dev make zlib1g-dev libyaml-dev libsqlite3-dev sqlite3 libgmp-dev pkg-config libgmp-dev libreadline6-dev libpq-dev redis-server ruby-rmagick imagemagick optipng jhead jpegoptim gifsicle postfix software-properties-common ruby-sidekiq-cron ruby ruby-dev
POSTEXEC=/tmp/files/postexec.sh
SERVICE=/usr/local/bin/stabile-discourse.pl
TERMINALLINK=/stabile/pipe/http://{uuid}:4200
......
......@@ -18,6 +18,7 @@ perl -pi -e 's/daemonize .*/daemonize true\n bind "tcp:\/\/0.0.0.0:9292"/g' /va
perl -pi -e 's/development test profile/development production test profile/g' /var/discourse/config/application.rb
perl -pi -e 's/(.*config.serve_static_files.+)/\#$1/g' /var/discourse/config/environments/production.rb
apt-get install -y npm
npm install -g svgo
ln -s /usr/bin/nodejs /usr/bin/node
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment