A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at https://github.com/metamaps/metamaps
Go to file
2014-04-30 21:11:47 -04:00
app removed coming soon 2014-03-06 08:12:41 -08:00
config fixed registration issues 2014-03-03 10:28:16 -08:00
db Delete 20140210031525_add_admin_to_users.rb 2014-04-30 20:40:48 -04:00
doc added all files 2012-09-22 22:39:12 -04:00
lib test 2012-09-22 22:50:25 -04:00
log added all files 2012-09-22 22:39:12 -04:00
public hopefully changed jit to not cause compile error 2014-03-03 02:23:14 -08:00
realtime changed realtime folder 2014-02-10 02:03:06 -05:00
script added all files 2012-09-22 22:39:12 -04:00
test Update users.yml 2014-04-30 20:38:55 -04:00
vendor fixed autocomplete bugginess, fixed synapse half opacity bug 2013-02-15 20:00:05 -05:00
.gitignore added precompiled assets 2013-04-26 00:32:09 -04:00
config.ru added all files 2012-09-22 22:39:12 -04:00
Gemfile styled autocompletes and tooltips 2014-03-03 16:58:03 -08:00
Gemfile.lock improved the labels. started the right click menu. added the wand menu. added the create map feature. replaced images with recolored ones. 2014-01-30 19:32:15 -05:00
Gemfile~ styled autocompletes and tooltips 2014-03-03 16:58:03 -08:00
Metamaps AGPL License.txt Create Metamaps AGPL License.txt 2013-10-17 10:38:06 -04:00
Rakefile added all files 2012-09-22 22:39:12 -04:00
README.rdoc Update README.rdoc 2014-04-30 21:11:47 -04:00

==How to code in Metamaps

First off, Metamaps runs on Ruby On Rails. Ruby 1.9.3 and Rails 3.2. You'll need to get Ruby and Rails installed on your computer if you don't already have it. We recommend using the Rails Installer, which you can download from Mac or Windows at http://railsinstaller.org/en (see the notes below about Ubuntu). This will get you set up perfectly with the right versions of Ruby, and Rails for running your local version of Metamaps.

It uses postgreSQL 9.2 as a database. You can install that for your computer from here: http://www.enterprisedb.com/products-services-training/pgdownload

Once you install those, open a 'command prompt with ruby and rails'. 

Navigate to the folder that you want to download the metamaps files to and run
  git clone git@github.com:Connoropolous/metamaps_gen002.git
  cd metamaps_gen002
  
Now you're in the main directory. 

Setting up the database:

1) Copy database.yml.default to database.yml
 
2) In a terminal:
  $ rake db:create
  $ rake db:schema:load
  $ rake db:fixtures:load

Running the server:

  $rails s #runs the server
  
Navigate your browser to localhost:3000 once you have the server running

Sign in with the default account

email: user@user.com

password: toolsplusconsciousness

OR create a new account at /users/sign_up, and use access code 'qwertyui'

Start mapping and programming!


==Installing on Ubuntu

I had a lot of trouble installing on Ubuntu
I had to install postgresql and libpq-dev. I had to do $rvm reinstall ruby-1.9.3-p125
execjs complained there was no runtime, so I added gem 'therubyracer' to the Gemfile


== The Important Files

Here are the important folders/files:

config/database.yml: This file is your database configuration. If it doesn't exist, copy it from config/database.yml.default and then get it set up. config/database.yml is in .gitignore

app/assets/javascripts/application.js: Global Javascript

app/assets/javascripts/Jit/*: These files handle all code that uses the Javascript Infovis Toolkit, so realistically, most code for laying stuff out is in here.

app/assets/controllers/*: These files define actions you can do on the different database objects. So for instance, what happens when you edit a Synapse? Check in app/assets/controllers/synapse_controller.rb, in the edit block

app/assets/views/*.html.erb: Files in here define either html that is displayed when a certain action is called (like edit, or create) on a thing. E.G. app/assets/views/topic/new.html.erb would have a form for creating a new topic. We don't use that way very much anymore though. "Partial" views can be called elsewhere in ruby code and are prefixed with an underscore. So we focus more on the files starting with an underscore. Read through the comments at the top of each file to understand what they all do.

app/assets/views/*.js.erb: Javascript that is called in response to, e.g., editing or creating a topic, synapse, etc.


==License
Metamaps.cc, a visual knowledge communication engine.
Copyright (C) 2014 Topos FFO

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program.  If not, see [http://www.gnu.org/licenses/].

With any questions or comments, contact Ishan Shapiro and Connor Turland at team@metamaps.cc.