Created
December 13, 2016 09:08
-
-
Save marciuz/f2707d35d81f69e64047814914fd21bb to your computer and use it in GitHub Desktop.
Installazione e prime customizzazioni di DKAN - DatiGov
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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