Skip to content

UNICEFECAR/parent-buddy-cms

Repository files navigation


Logo

Parent Buddy - CMS

CMS for creating Content for Parent Buddy Application
Explore the docs

· Report Bug · Request Feature

Table of Contents

About The Project

CMS system based on Acquia Lightning Drupal 8 Distribution that is used to create Content for ParentBuddy Application

Built With

Modules Used

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)

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

  • An available command line interface
  • PHP version 7.3 or higher
  • Composer for managing installation and dependencies

Recommended

  • Drush for making development life easier

Installation

  1. Clone the repo.
git clone https://github.com/UNICEFECAR/parent-buddy-cms.git
OR
git clone [email protected]:UNICEFECAR/parent-buddy-cms.git
  1. 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
  1. 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;
  1. System is now prepared for installation so go with your browser to http://domain/docroot/ to run the installation.
  2. Select English as default site language.
  3. When prompted to select installation profile choose 'Use existing configuration'.
  4. Follow the rest of the installation process and finish installation of CMS.
  5. Once installation is finished - set trusted_host_patterns setting in settings.php to reflect your domain you will be running CMS from.
  6. 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
  1. 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.
  2. Change Front Page information from 'node' to 'front-page' in 'admin/config/system/site-information'.
  3. 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.
  4. 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.
  5. Create administer_users user and give him Administer Users role.
  6. Create access_content user and give him Access Content role.

Contact

Admin - [email protected]

Project Link: https://github.com/UNICEFECAR/parent-buddy-cms

About

CMS for creating Content for Parent Buddy Application

Resources

License

Stars

Watchers

Forks

Packages

No packages published