Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
/ gelatine Public archive

An application that facilitates in person collaboration and knowledge sharing

Notifications You must be signed in to change notification settings

mtuckerb/gelatine

Repository files navigation

Gelatine

The goal of this project is to link physical resources, mentor-people, and people-with-mentoring-needs, so that they can find each other, set up a place to meet and collaborate, and release the resources when they are done.book_a_room

Installation (on a Mac):

Install rails (try this )

clone this repository

git clone https://github.com/mtuckerb/gelatine.git

hop into the repository's root

now we need to add environment variables to allow your development box to send mail via gmail. You will use your own gmail username and password for this.

create config/local_env.yml and add

GMAIL_USERNAME: 'you@gmail.com'
GMAIL_PASSWORD: 'your_gmail_password'

install the gems, setup your database, and start the server.like this…

$ bundle install
$ rake db migrate
$ rails server &

to create your initial (admin) user do

$ rails console
user = User.create(:username => "Your Name", :password => "Your password", :email => "your@email")
user.reload
user.role = :admin
user.save!

You should now get an email, click the link to confirm your user and it's off to the races!

open your browser and go to http://localhost:3000

Deploy to server (incomplete)

  • edit config/deploy.rb, set your server and login information
  • cap deploy

…on remote server

$ RAILS_ENV=production rake db:setup 
  • restart your webserver (if capistrano didn't do that for you)
  • create an initial user
$ RAILS_ENV=production rails console

user = User.last() (or appropriate)
user.role = :admin
user.save!

About

An application that facilitates in person collaboration and knowledge sharing

Resources

Stars

Watchers

Forks

Packages

No packages published