Skip to content

Instantly share code, notes, and snippets.

@marciuz
Created December 13, 2016 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marciuz/f2707d35d81f69e64047814914fd21bb to your computer and use it in GitHub Desktop.
Save marciuz/f2707d35d81f69e64047814914fd21bb to your computer and use it in GitHub Desktop.
Installazione e prime customizzazioni di DKAN - DatiGov
#!/bin/sh
# Info da http://docs.getdkan.com/dkan-documentation/dkan-developers-guide/installing-dkan
git clone --branch 7.x-1.x https://github.com/marciuz/dkan.git dkan
cd dkan
drush make --prepare-install drupal-org-core.make webroot --yes
rsync -av . webroot/profiles/dkan --exclude webroot
drush -y make --no-core --contrib-destination=./ drupal-org.make webroot/profiles/dkan --no-recursion
cd webroot
# Installa Drupal
drush site-install dkan --db-url="mysql://datigovit:__PASSWORD__@localhost/datigovit"
# Installazione moduli aggiuntivi
cd webroot/sites/all/modules
mkdir contrib features custom
drush dl devel search_api_solr admin_views -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment