Skip to content
/ dcf Public

Drupal 8 multi-site factory with Integration of angularJS2 and Ionic 2 designed for services companies and developers.

License

Notifications You must be signed in to change notification settings

fauconv/dcf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal 8 Custom Factory version 0.1.0

This project is just a SANDBOX for the moment. No stable version is provided yet

Software License

The goals are

  • Provide a Drupal 8 STANDALONE DISTRIBUTION (profiles, set of modules, theme, tools, npm/composer packages, angularJS 2 API for Drupal 8, versions management...) for developers and services companies to develop multi-sites Drupal8 / AngularJS2 ( / Ionic 2 ) (with material design) projects.
  • Provide profiles by use case:
    • internet site:
      • Angular-Drupal single page application (with ionic) (with material design)
      • Angular-Drupal multi-pages site
      • Drupal site
    • intranet:
      • Angular-Drupal single page site
      • Angular-Drupal multi-pages site
      • Drupal site
  • Find a way for backend developers to work with frontend developers in same time (frontend should do not have to wait data from backend to work).
  • In case of single page application, avoid problem of SEO with angular by using of snapshot auto generated by Drupal.
  • DCF is standalone (composer, nodejs and packages are downloaded locally in the project, no global tool needed). Only PHP CLI and a web server are needed. Environment variables are not used.
  • Stay 100% compatible Drupal, Angular, Ionic. (No core modifications, Drupal, Angular and Other libraries are downloaded from official sources and use latest version)
  • Provide a Drupal distribution with a maximum quality for redactor to manage content, images... (pre-configured roles and permissions for administrator redactor and anonymous user, pre-configured CKEditor, a set of mandatories modules: pathauto...) (Improved backoffice capability : imageMagik ...), based on Drupal 7 custom factory
  • DCF manage drupal multi-sites with or without apache aliases automaticaly (http://example.com/alias)

Installation

  1. Download DCF:
    • directly on github
    • or using git git clone --depth 1 https://github.com/fauconv/dcf.git; rm -rf .git
    • or if you already have composer you can use it : composer create-project fauconv/dcf -n --repository "{\"type\":\"vcs\", \"url\":\"https://github.com/fauconv/dcf\"}" -s dev
  2. The document root of websites will be in web subdirectory. Exemple: if you place DCF in /var/www/dcf, the DOCUMENT_ROOT of your web server must be set to /var/www/dcf/web
  3. Deploy DCF: scripts/project.sh deploy dev
  4. Optionaly launch source scripts/path.sh to set environment path for DCF. Environment is only set for your current session, no side effect. You must launch it eachtime you open a terminal or place this command line in your .bashrc file
  5. in config directory create a global config file and a local config file named my_site_id.config.global.ini and my_site_id.config.local.ini for your site by using the samples file. my_site_id, is a unique id freely choosen in space: [a-z_]+. In global config file you can choose between 2 profile provided by DCF "internet" or "intranet". You can also create your own profile or use standard drupal profiles.
  6. create a new drupal site: scripts/project.sh site deploy my_site_id
  7. Read workflow documentation and general documentation for more information

Compatibility

DCF work on :

DCF need installation of:

About

Drupal 8 multi-site factory with Integration of angularJS2 and Ionic 2 designed for services companies and developers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published