Skip to content

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 ( https://github.com/zyphlar/Open_Access_Control_Ethernet )

Notifications You must be signed in to change notification settings

heatsynclabs/Open-Source-Access-Control-Web-Interface

 
 

Repository files navigation

Open Access Control Web Interface

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

Copyright Will Bradley, 2012-2024 Distributed under a Creative Commons Attribution 3.0 license http://creativecommons.org/licenses/by/3.0/

screenshot

Contributions welcome! Simply send a pull request via Github.

Docker (development) setup

  • Run docker compose up
  • Once running, seed the (development, right?) database with docker exec -it members_web rake db:setup
  • Default user/pass is in db/seeds.rb
  • Note by default the DB is persisted in the db_data volume but the source code is only copied during docker build. That can be changed if desired.
  • The DB server can be accessed from the host machine via postgres://postgres:postgres@localhost:5432/members_db_development -- further work would be needed to set this up for production.

Manual setup

  • Install Imagemagick (for Paperclip / image uploads)
  • Install arp-scan (for LAN Mac address scanning)
  • 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 env.example to .env and edit appropriately for your Amazon S3 account OR adjust the resource.rb and contract.rb model settings to use different storage for picture attachments (via Paperclip)
  • Copy config/initializers/secret_token.rb.example to config/initializers/secret_token.rb and edit appropriately
  • See/edit db/seeds.rb for the initial admin account info.
  • Run bundle install, rake db:migrate, rake db:seed, etc.

About

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 ( https://github.com/zyphlar/Open_Access_Control_Ethernet )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.2%
  • HTML 21.5%
  • Ruby 16.1%
  • CSS 7.2%
  • SCSS 0.4%
  • PHP 0.2%
  • Other 0.4%