Git Product home page Git Product logo

s8080_default_stub's Introduction

--------------------
S8080 Default Module STUB
--------------------
Stub makefile to download all s8080 default contrib/custom modules

Using this method:
1) Stub makefile is public and so directly accessible to drush make
2) s8080_default makefile is kept private
3) default modules can be added to a new site OR an existing site (unlike an install profile)
4) modules are not added as dependencies and therefore may be disabled if not required for individual sites
5) there is no need to use git submodules which may add unnecessary complexity to project repos
6) devel, i18n, seo, security, and maps modules may be added only when required

Usage
------

1) IMPORTANT: this relies on git credentials being cached, to set this up run:
   git config --global credential.helper "cache --timeout=3600"
   cd any/s8080/git/repo/working_folder
   git pull
   enter credentials

2) cd /path/to/your/site/httpdocs

4a) FOR *NEW* SITE
   i) Download Drupal core and all default modules/themes/libraries
   drush make -y https://raw.githubusercontent.com/ashlewis/s8080_default_stub/master/s8080_default_stub.make .

   ii) Install Drupal
   drush site-install standard --db-url=mysql://root:[email protected]:3306/<SITE_NAME> --site-name="<SITE_NAME>" --db-su=<MYSQL_SUPER_USER_NAME> --db-su-pw=<MYSQL_SUPER_USER_PASSWORD> --account-name=s8080_admin --account-pass=<DRUPAL_PASSWORD>

 *OR*

4b) FOR *EXISTING* SITE
   i) Download all default modules/themes/libraries
   drush make -y --no-core https://raw.githubusercontent.com/ashlewis/s8080_default_stub/master/s8080_default_stub.make .

5) Enable default modules
   cd /path/to/your/site/httpdocs
   drush en -y s8080_default

6) [OPTIONAL] Enable default sub-modules
   drush en -y s8080_default_devel
   drush en -y s8080_default_i18n
   drush en -y s8080_default_maps
   drush en -y s8080_default_security
   drush en -y s8080_default_seo

s8080_default_stub's People

Contributors

ashs8080 avatar

Watchers

James Cloos avatar Ash Lewis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.