A quick summary of details related to installing Exponential Basic 2.4.0.1 (Now available for download).
Installation via Git & GitHub
Follow these steps to set up Exponential Basic via GitHub:
Please note that thr installation of required PHP software packages via composer package manager is required. Download and install composer first before proceeding.
- Clone the repository:
git clone https://github.com/se7enxweb/exponentialbasic.git;
Navigate to the project directory:
cd exponentialbasic;
Install dependencies:
composer install;
Installation via Composer & Packagist
Follow these steps to set up Exponential Basic via Composer:
Please note that thr installation of required PHP software packages via composer package manager is required. Download and install composer first before proceeding.
- Clone the latest release:
composer create-project se7enxweb/exponentialbasic -s dev exponentialbasic; cd exponentialbasic;
Configure your installation of the software package
- Configure your environment:
- Web Server setup a new virtual host for the website(s) that power this software package. There are two by default. User and Admin websites.
- You will require separate virtual hosts for www and admin domains.
- Database Server
- You will require a new database and database user and password access configured.
- Filesystem User and Group Permissions
- Generate Exponential Basics Autoloads
- Use this command: cd /path/ro/exponentialbasic; bin/shell/php/ezpgenerateautoloads.php -k;
- Create the two most used shell script alias commands via Shell script command aliases or by creating symbolic links in Linux / Unix / BSD / GNU.
- Use this command: ln -s ./bin/shell/php/ezpgenerateautoloads.php regenerate-autoloads; ln -s bin/shell/clearcache.sh clear-cache; -- Then you can run ./reginerate-autoloads -k; (your shell autocomplete feature will make this easy to type twice. also shell aliases) or run ./clear;.
- Set up your database in your database server.
- You will first need to generate the database SQL file. Run this command: cd /path/to/exponentialbasic/; ./bin/shell/db-generate.sh
- Then load the MySQL Schema SQL file generated from: ```mysql -u user databaseName -p < ./update/generated/publish_mysql.sql;``
- Then load the SQLite Schmea SQL SQL file generated from: ```sqlite3 var/site/db/site.db < ./update/generated/publish_sqlite.sql;``
2.1 Install Default Content Database Data and Image File Content into a Mysql Database
- Then load the MySQL Default Data SQL file from: mysql -u user databaseName -p < ./update/database/content/data_mysql.sql;
- Then uncompress the Default File Data tar.gz file from: tar -vzxf ./share/data/data.tar.gz;
- Then finally run permissions assignment the script from: ./bin/shell/modfix.sh;
2.1 Install Default Content Database Data and Image File Content into a SQLite Database
- Then load the MySQL Default Data SQL file from: sqlite3 var/site/db/site.db < ./update/database/content/data_sqlite.sql;
- Then uncompress the Default File Data tar.gz file from: tar -vzxf ./share/data/data.tar.gz;
- Then finally run permissions assignment the script from: ./bin/shell/modfix.sh;
- Update settings files
Update settings file settings/override/site.ini.append.php as needed to include the default settings customized to your own needs.
- Update site name, domain hostnames for user and admin websites, default design, database name and database connection username and password settings all in the site.ini in settings/override/site.ini.append.php
- Configure .htacesss or Web Server Mod_Rewrite Rules
This will direct all trafic by hostname match to index.php or index_admin.php as needed.
A reference file for the required configuration is available in file, .htaccess_example.
4.1 Add your user website domain name (escape periods for syntax match) to the provided .htaccess file configuration.
4.2 Add your admin website domain name (escape periods for syntax match) to the provided .htaccess file configuration.
4.3 Add your IPv4 address (escape periods for syntax match) to the provided .htaccess file configuration.
- Run shell script to set permissions for webserver to own the user and group and have file permissions of 775. Run shell script, ./bin/shell/modfix.sh;
- Initialize the application in your web browser. We recommend loading the admin site first but it doesn't matter much.
Default Admin Account in Exponential Basic
- Username: 'admin'
- Password: 'publish'
Example usage of user login view
- Example usage via web browser using eZ User URL: https://basic.demo.exponential.earth/user/login
- Example usage via web browser using eZ Admin URL: https://admin.basic.demo.exponential.earth/user/login
Note: Your work is now done. Enjoy the free software and a healthy snack. :)
Up next default content creation in the admin for your first visitor to see!
Documentation
Further documentation can be read from the documentation directory Project README.
More information can be found at our project website
Older documentation on the core of our framework design fundamentals should be studied at the Older v2 Era Documentation @ Wayback Machine
This includes the following key documentation (from the above doc link archive):