Minimal app to upload/edit html and image files.
Developed to be used by CoderDojo Växjö to enable the kids to upload their own home page and show of their projects.
First, install the latest ruby using rvm
according to these instructions:
Then,
brew install libmagic
Install rvm and ruby as stated above.
Then,
sudo apt-get install libmagic-dev
cp config.example.yml config.yml
Replace values in config.yml
with different values. Use for example random.org for some random data.
bundle install
rackup
Browse to http://localhost:9292/
Register a user using the webapp.
irb
> require './coderdojowebstorage'
> u = User.first
> u.auth_level = 10
> u.save