With this tutorial you will spin a new DKAN site on Pantheon.
Pantheon is the fastest and easiest to maintain way to get up and running with DKAN. Once you’ve setup an account you can launch your DKAN portal for as little as $25 per month.
DKAN updates are sent right to your development site. You test them safely with no risk. Updates can be merged without coding or using a command line (after initial setup).
This image shows the Pantheon dashboard where new updates are applied:
Pantheon takes care of all your hosting needs including backups, dev/test/prod instances, CLI access if you need it. DKAN supplies updates to your site. You can leverage all of the power of DKAN without code and without setting up or deploying servers.
You can host your production-ready portal for as little as $25 a month.
While anyone could follow the step by step instructions below it is helpful to have experience with git, cli tools, and developer tools and practices.
Create your free Pantheon account to get started.
Install drush to your local computer or server.
Add your ssh key to your Pantheon account.
It is recommended to install Terminus, Pantheon’s CLI tool.
Create your DKAN site using this form. This should only take several minutes.
Add your site name and url:
Once your site is created you need to update your local drush alias files.
Visit your Pantheon Dashboard and click “Drush Aliases”.
> terminus auth:login
If you are doing this for the first time you will need to generate a machine token. Just follow the link provided.
> terminus aliases
With either method you should be able to type:
> drush sa
see a list of aliases including .dev/.test/.prod instances of your site.
Go to your dev instance in Pantheon and click “SFTP”. This is to get around a bug in Pantheon that won’t let you install from the CLI while in Git mode.
Run the installation command:
> drush si @mysitealias.dev dkan -vy
If you want to specify a root user or password you can add “–account-name” and “–account-pass” arguments. If you don’t specify the password you will have to look for it in the CLI output.
The installation process should take about 10 minutes.
Visit the url on your development instance dashboard in Panteon or type
> drush @mysitealias.dev uli
Go back to your dev instance and switch “Connection mode” back to git.
See “Deploy to test and live” in Pantheon docs
Visit the DKAN Docs to see how to setup your site.
See Pantheon docs on Going live.
Visit us at our slack channel and say hello, ask questions, or join the community.