2013-09-28 11:59:19 +00:00
@@default_settings = {
2013-09-29 02:31:28 +00:00
:welcome_title = > " Welcome to the Hackerspace Members Site " ,
:welcome_body = > " <p>We are a member-driven community workshop where you can learn, make cool stuff, meet other cool people, and make your city a better place to live!</p><p>You don't have to be a member to come visit, but if you're interested in volunteering or being a member, feel free to sign up here! For more information, <a href= \" /more_info \" >Click Here</a>.</p> " ,
2013-09-28 11:59:19 +00:00
:more_info_page = > " No info here yet, bug a member about filling this part out! " ,
2013-10-04 09:59:41 +00:00
:member_resources_inset = > " No info here yet, bug a member about filling this part out! " ,
2013-12-02 02:32:08 +00:00
:analytics_code = > " <!-- insert analytics code here --> " ,
:space_api_json_template = > ' {
" api " : " 0.12 " ,
" space " : " Your Hackerspace Name Here " ,
" logo " : " http://example.com/logo.png " ,
" lat " : 0 ,
" lon " : - 0 ,
" icon " : {
" open " : " http://example.com/open.png " ,
" closed " :" http://example.com/closed.png "
} ,
" url " : " http://example.com " ,
" address " : " 123 main st, city, state, country " ,
" contact " : {
" phone " : " " ,
" irc " : " " ,
" twitter " : " " ,
" ml " : " "
} ,
" cam " : [ " " ] ,
" feeds " : [ { " name " : " " ,
" url " : " " } ,
{ " name " : " " ,
" url " : " " } ] ,
" apis " : {
" oac " : {
" url " : " http://this-apps-url.example.com/door_access " ,
" description " : " https://github.com/heatsynclabs/Open-Source-Access-Control-Web-Interface "
} ,
" pamela " : {
" url " : " http://this-apps-url.example.com/macs.json " ,
" description " : " https://github.com/heatsynclabs/Open-Source-Access-Control-Web-Interface "
}
}
} '
2013-09-28 11:59:19 +00:00
}
if ActiveRecord :: Base . connection . tables . include? ( 'settings' ) and ! defined? ( :: Rake )
@@default_settings . each do | key , value |
Setting . save_default ( key , value )
end
end