Open-Source-Access-Control-.../README.rdoc

22 lines
1008 B
Plaintext
Raw Normal View History

== Open Access Control Web Interface
2013-01-26 09:42:27 +00:00
Web software for managing a database of members in a collaborative grassroots workshop,
and also controlling Arclight of 23b Hackerspace's Arduino access control system
via Ethernet ( see: https://github.com/zyphlar/Open_Access_Control_Ethernet )
https://github.com/zyphlar/Open-Source-Access-Control-Web-Interface
2013-01-26 09:42:27 +00:00
Copyright Will Bradley, 2012-2013
Distributed under a Creative Commons Attribution 3.0 license http://creativecommons.org/licenses/by/3.0/
To use:
* Load into a Rails 3 environment
* Copy config/config.yml.example to config/config.yml and edit appropriately
* Copy config/database.yml.example to config/database.yml and edit appropriately
* Copy config/initializers/secret_token.rb.example to config/config/initializers/secret_token.rb and edit appropriately
* Run bundle install, rake db:migrate, etc.
2013-10-26 10:21:48 +00:00
* Use the Rails console to create a new User with admin rights
* user = User.new
* user.password = "foobar"
* user.admin = true
* user.save