CMS for creating Content for Parent Buddy Application
Explore the docs
·
Report Bug
·
Request Feature
CMS system based on Acquia Lightning Drupal 8 Distribution that is used to create Content for ParentBuddy Application
Many third party Drupal modules were used. These are the most important, the full list can be seen by examining composer.json (in the root of the project)
- Frequently Asked Questions module
- Webform module
To get a local copy up and running follow these steps.
- An available command line interface
- PHP version 7.3 or higher
- Composer for managing installation and dependencies
- Drush for making development life easier
- Clone the repo.
git clone https://github.com/UNICEFECAR/parent-buddy-cms.git
OR
git clone [email protected]:UNICEFECAR/parent-buddy-cms.git
- Go into root of the project and run following commands:
composer install
mkdir docroot/sites/default/files
chmod a+w docroot/sites/default/files
edit docroot/sites/default/default.settings.php by adding at the end of the file
# Sync Directory Path
$settings['config_sync_directory'] = '../config/sync';
cp docroot/sites/default/default.settings.php docroot/sites/default/settings.php
chmod a+w docroot/sites/default/settings.php
- Create database that will be used with CMS system for example:
mysql -u username -p
CREATE DATABASE `database_name` CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
exit;
- System is now prepared for installation so go with your browser to
http://domain/docroot/
to run the installation. - Select English as default site language.
- When prompted to select installation profile choose 'Use existing configuration'.
- Follow the rest of the installation process and finish installation of CMS.
- Once installation is finished - set
trusted_host_patterns
setting in settings.php to reflect your domain you will be running CMS from. - Go back to command line and execute following commands to secure the site.
chmod go-w docroot/sites/default
chmod go-w docroot/sites/default/settings.php
- Go back to CMS and in Appearance section set 'Seven' as default and administration theme, clear the cache, set 'Claro' theme as default, cleare the cache and uninstall 'Seven' theme.
- Change Front Page information from 'node' to 'front-page' in 'admin/config/system/site-information'.
- Import Serbian translations ('admin/config/regional/translate/import') from 'sr.po' file that is in 'config' folder in root of the project. Select 'Overwrite non-customized translations' option when doing import.
- Go to 'docroot/sites/default/files/translations' folder and delete 'sr.po' file. Go to 'file_managed' database table and delete the line witch holds 'sr.po' as filename. Flush all caches.
- Create
administer_users
user and give himAdminister Users
role. - Create
access_content
user and give himAccess Content
role.
Admin - [email protected]
Project Link: https://github.com/UNICEFECAR/parent-buddy-cms