Neocities.org - the web site. Yep, the backend is open source!
Find a file
2014-04-19 00:34:33 -07:00
domains ignores and pre-added folders for travis 2014-04-12 14:15:16 -07:00
files Initial site profile design 2014-04-19 00:34:33 -07:00
migrations implement plan code 2014-04-18 15:40:08 -07:00
models implement plan code 2014-04-18 15:40:08 -07:00
public More dashboard tweaks 2014-04-19 00:32:52 -07:00
tests fix acceptance tests 2014-04-17 20:24:32 -07:00
views More dashboard tweaks 2014-04-19 00:32:52 -07:00
workers enable JS for screenshots 2014-04-13 11:10:26 -07:00
.gitignore work on converting slim to erb 2014-04-17 14:12:12 -07:00
.travis.yml try to get travis build working 2014-04-12 14:02:12 -07:00
app.rb implement plan code 2014-04-18 15:40:08 -07:00
config.ru add sidekiq admin 2014-04-13 01:11:39 -07:00
config.yml.template implement plan code 2014-04-18 15:40:08 -07:00
config.yml.travis try to get travis build working 2014-04-12 14:02:12 -07:00
environment.rb implement plan code 2014-04-18 15:40:08 -07:00
Gemfile implement plan code 2014-04-18 15:40:08 -07:00
Gemfile.lock implement plan code 2014-04-18 15:40:08 -07:00
LICENSE.txt Add BSD 2-clause license 2013-06-22 18:59:38 -07:00
rainbows_config.rb updates to config 2013-07-07 23:13:54 +02:00
Rakefile fix migrations, acceptance testing for auth, 32 char username limit 2014-04-01 16:34:53 -07:00
README.md fix contrib copy 2014-04-14 10:09:36 -07:00

NeoCities.org

Build Status

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

Want to contribute?

If you'd like to fix a bug, or make an improvement, or add a new feature, it's easy! Just send us a Pull Request.

  1. Fork it ( http://github.com/YOURUSERNAME/neocities/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request