Today we received a Top20 award for OpenCulturas
-
Germany now has its first open-source software repository for the government. https://opencode.de/en
OpenCulturas is a FLOSS culture portal software (you can easily install it on a LAMP app). https://www.openculturas.org/en
Last year, one of our clients spent a lot of time making OpenCulturas part of openCode.
Today, we got a Top20 award for the software.

https://social.luckow.org/@luckow/115294060182791352If you know anyone who needs art + culture portal software for regional marketing, please let me know. Our backlog is huge, and budgets are tight.

-
Has anyone installed this on Cloudron yet, using the LAMP app? Does composer work in the LAMP app? I suppose I could try out my questions, but if things fail I don't always know what went wrong, hence these questions.
It looks like even Drupal is installed via composer these days - https://new.drupal.org/download. So, do I make a LAMP app, leave it bare, then run composer to install Drupal, and then install OpenCulturas using composer again? Or, do I install OpenCulturas via composer all by itself straight into the LAMP app? Thanks for any tips.
-
Well, silly me went ahead to try installing Drupal, using composer. I even followed (tried to) these steps: https://forum.cloudron.io/topic/4457/installing-drupal-9-fails/5?_=1761881060321
BBUUTTT of course it isn't working. AANNNDDD I of course don't really know why.
-
OK, I've made some progress, but running
php vendor/bin/drush crgives me;www-data@aeb12796-98b8-44ad-9108-5b61d48a8fe7:~/cms$ php vendor/bin/drush cr # Support bash to support `source` with fallback on $0 if this does not run with bash # https://stackoverflow.com/a/35006505/6512 selfArg="$BASH_SOURCE" if [ -z "$selfArg" ]; then selfArg="$0" fi self=$(realpath $selfArg 2> /dev/null) if [ -z "$self" ]; then self="$selfArg" fi dir=$(cd "${self%[/\\]*}" > /dev/null; cd '../drush/drush' && pwd) if [ -d /proc/cygdrive ]; then case $(which php) in $(readlink -n /proc/cygdrive)/*) # We are in Cygwin using Windows php, so the path must be translated dir=$(cygpath -m "$dir"); ;; esac fi export COMPOSER_RUNTIME_BIN_DIR="$(cd "${self%[/\\]*}" > /dev/null; pwd)" # If bash is sourcing this file, we have to source the target as well bashSource="$BASH_SOURCE" if [ -n "$bashSource" ]; then if [ "$bashSource" != "$0" ]; then source "${dir}/drush" "$@" return fi fi "${dir}/drush" "$@" -
OK, so, searching around gave me this form of the command:
php83 ./vendor/bin/drush.php cr. At first it would appear to hang, and then the result was just "Killed". This was because somehow the drush command isn't in PATH, as in https://github.com/drush-ops/drush/issues/6250 and https://www.drupal.org/forum/support/post-installation/2023-12-30/drush-preflight-package-drupalcore-is-not-installed. I'm not sure how to add it.vendor/bin/drush to the PATH. Anyway, I then ranphp ./vendor/bin/drush.php status, and it returned good info. I then tried the first,php83 ./vendor/bin/drush.php cr, and voila! The site loaded!So, I did the following:
Following https://new.drupal.org/download, I installed the CMS,composer create-project drupal/cms. Previously I had been installing and trying to work with just Drupal Core... but I was thinking that since OpenCulturas IS a full CMS, I may as well install that. Maybe that is the main key here.Then I followed steps from Luckow.
- switch to the www-data user
su www-data - change directory to /app/data
cd /app/data
I skipped the following (from Lucknow's post):
- install drupal via composer
composer create-project drupal/recommended-project - move everything from inside recommended-project into the root of /app/data
mv recommended-project/* . & mv recommended-project/.* . - remove the default public folder and make a symbolic link
rm -rf public& ln -s web public
and instead installed OpenCulturas from the /app/data...actually, to be honest I've lost track of where I ran the command:
composer create-project --remove-vcs drupal/openculturas_project example.orgAnd it seems to have been installed in a directory called
example.org.And followed the next poster, Shai's suggestion:
rm -rf public & ln -s cms/web public. So, I'm not sure where OpenCulturas is actually running from! cms/web or example.org/, and to be honest, I don't feel like redoing it all, at least not now.So, Derpal is installed and running the Events form of OpenCulturas.
- switch to the www-data user
-
Has anyone installed this on Cloudron yet, using the LAMP app? Does composer work in the LAMP app? I suppose I could try out my questions, but if things fail I don't always know what went wrong, hence these questions.
It looks like even Drupal is installed via composer these days - https://new.drupal.org/download. So, do I make a LAMP app, leave it bare, then run composer to install Drupal, and then install OpenCulturas using composer again? Or, do I install OpenCulturas via composer all by itself straight into the LAMP app? Thanks for any tips.
To download/install OpenCulturas just run
composer create-project --remove-vcs drupal/openculturas_project example.organd then create a symlink for public which links toexample.org/web. I believe you need to remove the public directory before you can do it.Then you can install it via browser. Use the credentials from credentials.txt for database. When installed, it is better to replaces the strings in web/sites/default/settings.php with getenv('CLOUDRON_MYSQL_HOST'). So that you can create a copy, and it uses the new credentials and not the credentials from the other app.