Hello and welcome! This is the Openinnovations Drupal installation and or starting kit.
Make sure that you have installed lando and docker on your computer, Windows machines are not recommended.
About docker, you can have some information here or then again here .
For Lando, the documentation has been changed, but basically what you need to do is to go here and download this file, so you get the latest version of Lando.
Clone the project on your local, run this command on your terminal, git clone [email protected]:n00bsaiboth/openinno-drupal-starter-kit.git
.
Then, when you get docker and lando up and running, you need to give it the following commands,
lando start
lando composer install
lando db-import <from the sql folder>
lando drush cim -y
lando drush cr
lando drush updb -y
lando drush cr
.
Congratulations, you have a fresh D10 installation to play with.
Basically you can run this on your webserver, straight away.
There are few things that you need to consider:
- Make sure that your LAMP-stack is up to date.
- If composer gives you an error, that it can't find some
PHP extensions
, make sure that you have installed them. - You might need to
unzip
thedatabase dump
, found in the/sql
folder, before you import it. You can use this command to do the trickgzip -dk file.gz
. - Change the
database credentials
from thesettings.php
file. - Set up your
apache configs
anduser permissions
right.
If you think that everything is set and you get an error like this,
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0".
Try run composer install
with --ignore-platform-reqs
.
Also noticed, that the site is giving you a lot of warnings, something like, Warning: mkdir(): Permission denied in..
, so you might need to create the files
folder under sites/default/
and chmod
that to 777
.