git clone https://github.com/discourse/discourse_docker.git
cd discourse_docker
./launcher start app
./launcher enter app
apt-get update && apt-get install --yes golang-go
go get github.com/mailhog/MailHog
~/go/bin/MailHog
./launcher enter app
rails c
SiteSetting.force_https = false
docker cp ~/Desktop/typo3-decisions-2024-01-24-033424-v20230823100627.tar.gz app:/tmp/
./launcher enter app
cd /tmp/
tar xvzf typo3-decisions-2024-01-24-033424-v20230823100627.tar.gz
# set password
sudo -u postgres psql
\password postgres
(enter the new password)
\q
# create database
sudo -u postgres psql
CREATE DATABASE "decisions" ENCODING = 'utf8';
\q
# import dump
zcat /tmp/dump.sql.gz | sudo -u postgres psql -d decisions
# install dependencies
apt-get install --yes libmariadb-dev-compat freetds-dev vim
su discourse
cd /var/www/discourse
bundle config set frozen false
IMPORT=1 bundle install
# TODO
IMPORT=1 DB_NAME=decisions DB_PASS=XXX SOURCE_BASE_URL=https://decisions.typo3.org/ UPLOADS_PATH=/tmp/uploads/default/ bundle exec ruby script/bulk_import/discourse_merger.rb
# TODO
# TODO
Stumbled over this today. It does not look like there is a configuration to accomplish this, it seems like the Discourse SAML plugin does create the very same request whether you click "Sign Up" or "Log In". We have to skim the code to figure out whether this is true and try to find a workaround in there.
Not relevant anymore since we replaced the LDAP integration by SAML SSO to my.typo3.org directly, which will update the name accordingly.
Not relevant anymore since we replaced the LDAP integration by SAML SSO to my.typo3.org directly.