mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Neocities.org - the web site. Yep, the backend is open source!
This is an "monkey patch" to have Tempfile return 0 instead of nil when a tempfile is empty. This has caused an unexplained exception in our logs for years, and I was really surprised when I caught it, and more surprised that nobody has ever reported it to us before. I really think this is a bug, and have filed it as a bug on the ruby tracker. I haven't seen any consequences (yet) to doing this, so I'm just going to run with it and see what happens. If it blows something up (how? what scenario?), I'll try a different approach. |
||
---|---|---|
app | ||
ext | ||
files | ||
migrations | ||
models | ||
public | ||
sass | ||
tests | ||
vagrant | ||
views | ||
workers | ||
.gitignore | ||
.travis.yml | ||
app.rb | ||
app_helpers.rb | ||
code-of-conduct.txt | ||
config.ru | ||
config.yml.template | ||
config.yml.travis | ||
environment.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.txt | ||
puma_config.rb | ||
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 -o 0.0.0.0
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