Neocities.org - the web site. Yep, the backend is open source!
Find a file
2014-07-03 14:03:35 -05:00
domains ignores and pre-added folders for travis 2014-04-12 14:15:16 -07:00
ext shorten titles, DRY up url generation 2014-07-03 14:03:35 -05:00
files Initial mockup/code for new index with large sections. 2014-04-26 10:24:56 -05:00
migrations implement site reporting 2014-06-14 16:15:47 -07:00
models shorten titles, DRY up url generation 2014-07-03 14:03:35 -05:00
public finish basic implementation of tags, misc cleanups 2014-06-11 16:18:19 -07:00
tests fixes for tags 2014-06-18 13:15:01 -07:00
views shorten titles, DRY up url generation 2014-07-03 14:03:35 -05:00
workers code to delete thumbnails and screenshots 2014-04-21 18:30:25 -07:00
.gitignore refactor tags, whitespace 2014-06-08 18:32:33 -07:00
.travis.yml fixes for follows, initial follow event code 2014-05-08 08:47:28 -07:00
app.rb use web app for bans, not system 2014-06-27 21:23:28 -04: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 event deleting 2014-05-02 17:44:31 -07:00
Gemfile remove double-change count, and only increment for actual changes 2014-06-04 18:26:17 -07:00
Gemfile.lock remove double-change count, and only increment for actual changes 2014-06-04 18:26:17 -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 Capture unique visitors 2014-06-30 17:26:44 -05: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