From 0c70be0c21e35dd481e6c42a2f765c268c8bb8fb Mon Sep 17 00:00:00 2001 From: dsainty Date: Mon, 17 Jun 2024 18:57:04 +1000 Subject: [PATCH] v0.2 -- first fun with rebuilding after much progress was made --- import.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/import.yml b/import.yml index b17abdf..f2a44e4 100644 --- a/import.yml +++ b/import.yml @@ -1,5 +1,5 @@ -## saint v0.1 -## this is the all-in-one, standalone Discourse Docker container template +## saint v0.2 +### this is the all-in-one, standalone Discourse Docker container template ## ## After making changes to this file, you MUST rebuild ## /var/discourse/launcher rebuild app @@ -99,9 +99,25 @@ volumes: hooks: after_code: - exec: - cd: $home/plugins + cd: /var/www/discourse/plugins + #cd: $home/plugins cmd: - git clone https://github.com/discourse/docker_manager.git + - git clone https://gitea.federated.computer/saint/discourse-md5_authentication.git + cd: $home + cmd: + - apt-get update && apt-get install -y sqlite3 libsqlite3-dev libmariadb-dev + - gem install mysql2 + - gem install sqlite3 + after_bundle_exec: + - exec: + cd: /var/www/discourse + cmd: + - apt-get update && apt-get install -y vim + - cp /shared/slowtwitch/import_scripts/goss*.rb /var/www/discourse/script/import_scripts/ + #- mkdir /var/www/discourse/plugins/md5_authentication + #- cp -a /shared/slowtwitch/md5_authentication/plugin.rb /var/www/discourse/plugins/plugin.rb + ## Any custom commands to run after building run: