diff --git a/README.md b/README.md index 00cfa19a..180c16d7 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,53 @@ [](https://travis-ci.org/neocities/neocities) -The web site for NeoCities! It's open source. Want a feature on the site? Send a pull request! \ No newline at end of file +The web site for NeoCities! It's open source. Want a feature on the site? Send a pull request! + +## Installation (OSX) + +Install homebrew: +``` +ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" +``` + +Install deps: +``` +$ brew install redis postgresql phantomjs libmagic imagemagick +``` + +Fork the repository on Github. +Clone the forked repo to your local machine: git clone git@github.com:YOURUSERNAME/neocities.git +Install deps: + +``` +$ cd neocities +$ gem install bundler +$ bundle install +``` + +Create postgres databases: + +``` +createdb neocities_test +createdb neocities_dev +``` + +Copy config.yml.template to config.yml and edit to something like this: +``` + development: + database: 'postgres://neocities@127.0.0.1/neocities_dev' + database_pool: 1 + session_secret: SECRET1234 + recaptcha_public_key: ENTER RECAPTCHA PUBLIC KEY HERE + recaptcha_private_key: ENTER RECAPTCHA PRIVATE KEY HERE + sidekiq_user: sidekiq + sidekiq_pass: sidekiq + phantomjs_url: + - http://localhost:8910 +``` + +Run the tests to see if they work: + +``` + bundle exec rake test +``` \ No newline at end of file diff --git a/views/_footer.erb b/views/_footer.erb new file mode 100644 index 00000000..a791f2d1 --- /dev/null +++ b/views/_footer.erb @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/views/_int-footer.erb b/views/_int-footer.erb deleted file mode 100644 index 69a4ec74..00000000 --- a/views/_int-footer.erb +++ /dev/null @@ -1,22 +0,0 @@ - diff --git a/views/browse.erb b/views/browse.erb index 48267ff6..871e8755 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -44,7 +44,7 @@ <% @sites.each do |site| %>