Skip to content

Getting Started

Anas Ismail Khan edited this page Aug 5, 2016 · 3 revisions

A grandma-compatible guide to having a Danvers site.

Get Danvers!

The first scientifically-proven logical step would be to actually get the Danvers code so as to be able to configure it. This could be done by merely cloning the repo by running: git clone https://github.com/anasik/Danvers.git

Alternatively, you could download Danvers in a ZIP.

If you cloned the repo, all the files in the Danvers folder would need to be copied to wherever you wish to host it. If you downloaded a ZIP, just extract them to the right location.

I want to see it working already!

To immediately start using Danvers, all you really need to do is open "includes/variables.php" in your favorite text-editor(mine is vim), and change the variable named $homeURL to wherever the site is hosted.

For example, for my demo, the line looks like:

$homeURL = "http://anasismail.com/others/Danvers/";

Once you've done this, your site is pretty much functional. Yes, it has a few stupid sample pages and posts, but those can be simply deleted. Just delete all the files from:

  • content/pages
  • content/posts
  • content/comments
  • content/comments/approved

And you'd obviously want to replace them with your own.