Name: intermod-site
Owner: InterMine
Description: InterMOD site on Blaš CMS
Created: 2013-02-22 12:51:56.0
Updated: 2014-01-16 09:40:33.0
Pushed: 2014-01-16 09:40:32.0
Homepage: http://intermod-site.labs.intermine.org
Size: 1020
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An InterMOD project site powered by blaš CMS.
http://crossmodel.org/ http://intermod-site.apps.intermine.org/
The CMS that powers the site is developed in Node.js, download the tarball and install it if not present:
configure
ke
do make install
The CMS uses MongoDB 2 as a backend database; to install and start it up:
do apt-get install mongodb
do mongod
Install the dependencies of this “app” which is blad
and then whatever packages you will be using in your site code; use package.json
to define those then run:
m install -d
Define the config for your site in config.json
:
"mongodb": "mongodb://localhost:27017/documents",
"browserid": {
"provider": "https://browserid.org/verify",
"salt": "Q?RAf!CAkus?ejuCruKu",
"users": [
"radek.stepan@gmail.com"
]
}
Finally start the service, take note that if you wish to start it on a specific port, pass it in as the process.env.PORT
variable:
de start.js
If you need to define your custom page types and styles (you do), follow the guide associated with the blaš CMS project page.
Two helpful functions have been exposed to let you export/import pages of your CMS. Call them like so:
de export.js
de import.js
Be aware that the import wipes the database clean first!