Manual installation on a Linux/UNIX based system
A manual installation of Exponential 6 on Linux, with the kernel and every se7enxweb extension as Git clones.
1. Get the code
composer config --global 'preferred-install.se7enxweb/*' source cd /var/www git clone https://github.com/se7enxweb/exponential.git example.com cd example.com git switch -c my-site composer install php bin/php/console --version
composer install clones the extensions into extension/ and Velocity into vendor/, and regenerates the class maps (bin/php/ezpgenerateautoloads.php) when it is done. To pin a release instead of the main branch, check out its tag first, for example git switch -c my-site v6.0.14 (the tags v6.0.8 to v6.0.14 need PHP 8.1 or later).
2. Optional: the shortcut and the setup files
ln -s bin/php/console console ./console exp:setup:config --apply # config.php from config.php-RECOMMENDED ./console exp:setup:htaccess --apply # .htaccess from .htaccess_root, for Apache
Without --apply both show what they would copy. config.php is optional; it holds a few early settings.
3. Permissions
sudo chmod -R ug+rwx design extension settings var sudo chown -R <web user>:<web group> design extension settings var
When you, Composer and the cronjobs run as one user and PHP for the web as another, give them a common group instead of handing the files over.
4. Install the site
Pick one:
# one command, SQLite by default php bin/php/console exp:install --apply --url=https://www.example.com --random-password # or from kickstart.ini php bin/php/console exp:kickstarter ini php bin/php/console exp:kickstarter run php bin/php/console exp:kickstarter run --apply # or the setup wizard: serve the site, then open it in a browser php bin/php/console exp:velocity start --engine=php
The pages: Normal installation, Automated installation and The setup wizard. Then serve the site (Virtual host setup), sign in as admin and change the password (Installation).
5. Stay up to date
git fetch origin git merge origin/main composer install
Then follow Updating Exponential 6.0 for the database update and the deploy steps. Each extension in extension/ is a Git clone of its own, with its own history.
Contributors
- Balazs Halasy
- Geir Arne Waaler
- Graham Brookins Updated Maintainer
Comments
Add a comment