mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Neocities.org - the web site. Yep, the backend is open source!
Instead of using ngx_cache_purge which was buggy, we are trying proxy_cache_bypass, which is internal to nginx. This is A Good Thing (assuming it works), because when we call HEAD on the purge item, it also warms the cache for us, which the previous system did not do. We want newly updated files to cache warm, because they are expected to be used quickly. |
||
---|---|---|
app | ||
domains | ||
ext | ||
files | ||
migrations | ||
models | ||
public | ||
sass | ||
tests | ||
vagrant | ||
views | ||
workers | ||
.gitignore | ||
.travis.yml | ||
app.rb | ||
app_helpers.rb | ||
config.ru | ||
config.yml.template | ||
config.yml.travis | ||
environment.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.txt | ||
rainbows_config.rb | ||
Rakefile | ||
README.md | ||
Vagrantfile |
Neocities.org
The web site for Neocities! It's open source. Want a feature on the site? Send a pull request!
Getting Started
Neocities can be quickly launched in development mode with Vagrant. Vagrant builds a virtual machine that automatically installs everything you need to run Neocities as a developer. Install Vagrant, then from the command line:
vagrant up --provision
vagrant ssh
cd /vagrant
bundle exec rackup
Now you can access the running site from your browser: http://127.0.0.1:9292
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.
- Fork it (http://github.com/YOURUSERNAME/neocities/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request