A deployable web platform for collaborative conversation, ideation & sense-making. Use it for free at https://github.com/metamaps/metamaps
Find a file
2013-02-21 18:35:26 -05:00
app plateau => platform 2013-02-21 18:35:26 -05:00
config switched settings back to compress js and css for optimization 2013-02-03 20:10:21 -05:00
db added ability to switch what metacodes you are mapping with 2013-01-25 20:49:40 -05: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 removed assets 2013-02-03 19:52:39 -05:00
script added all files 2012-09-22 22:39:12 -04:00
test added ability to switch what metacodes you are mapping with 2013-01-25 20:49:40 -05:00
vendor added all files 2012-09-22 22:39:12 -04:00
.gitignore updated .gitignore 2012-12-15 13:49:12 -05:00
config.ru added all files 2012-09-22 22:39:12 -04:00
Gemfile updated gem file to use older version of jquery rails that is working locally 2013-02-03 20:06:19 -05:00
Gemfile.lock finished devins piece editing synapse directionality 2013-02-03 21:12:15 -05:00
Rakefile added all files 2012-09-22 22:39:12 -04:00
README.rdoc added brief readme 2013-01-20 21:09:38 -05:00

How to code in Metamaps

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.