Git Product home page Git Product logo

rightclick's Introduction

Installation

// Clone current repository as [my/www/folder]
git clone [email protected]:dropdog/rightclick.git [my/www/folder]

// Get into the folder
cd [my/www/folder]

// Switch to develop branch
git checkout develop

// Install Drupal with Drush or through the UI
drush site-install rightclick --db-url="mysql://[db_user]:[db_pass]@localhost/[db_name]" --account-name="admin" --account-pass="admin"

Development mode

// In order to complete the development mode run this script.
// This will add custom development settings, modules, trusted domains etc
// and no other script need to run on the site.
yes | sudo bash $(drush dd)/profiles/dropdog/dev-scripts/full-dev-setup.sh

Live mode

// Just edit the settings.php file and change the $mode variable to 'live'

Individual commands to allow Development mode

If you already have run the command above you don't need to run any other commands. But in case you want to do specific tasks on the site you have the options bellow.

Enable development mode

// Enable development mode by sourcing the development files to settings.php
sudo bash $(drush dd)/profiles/rightclick/dev-scripts/enable-dev.sh

Enable development drupal modules

// Enable common development modules (which are not enabled by default)
drush en -y devel devel_generate kint webprofiler dblog

By default the trusted domains will not be enabled on settings.php but you can do it easily. To enable them change:

// Find in settings.php
$trusted_domains = TRUE;

After build tasks

drush entity-updates -y
drush php-eval 'node_access_rebuild();'
drush cr

or in one line all together:

drush entity-updates -y && drush php-eval 'node_access_rebuild();' && drush cr

rightclick's People

Contributors

hostdog avatar

Watchers

James Cloos avatar Theodoros Ploumis avatar  avatar Vagelis Prokopiou 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.