• This repository has been archived on 10/Jan/2022
  • Stars
    star
    1,705
  • Rank 27,376 (Top 0.6 %)
  • Language
    JavaScript
  • Created over 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Calipso is a simple NodeJS content management system based on Express, Connect & Mongoose.

Calipso

Calipso is a simple NodeJS content management system, built along similar themes to Drupal and Wordpress, that is designed to be fast, flexible and simple.

For additional details, including installation instructions, please visit the home page: http://calip.so/

If you would like to contribute, please take a look at the issues list as this will have the most up to date view of work that needs to be done for the next minor release. Otherwise, please just pm myself (cliftonc), dennis (dennishall) or dale (dtan) and we can suggest some places for you to start.

Build Status

Quick Install

If you want to try it out as quickly as possible, please install MongoDB, ensure that you have the right compilers installed (for OSX, XCode4 will work, for Ubuntu, the build-essential and libssl-dev packages) and then use NPM:

        npm install calipso -g
        calipso site /var/www/MySite
        cd /var/www/MySite
        calipso server

Note the server will output an installation password during install to prevent some other person from installing your server. The output will look something like this:

Installation Password: "5ng/joSjSXS9RsERDXVGk40Ih2PP5YC/7w==" (inside quotes)

NOTE: Mongoose upgraded to 3.6.x

This causes the sort api to change. In order to run under SmartOS mongoose had to be upgraded to in turn upgrade mongodb to 1.3.x. When sorting rather than

query.sort('column', 1).sort('column2', -1)

Use

query.sort('column -column2')

Instead.

Using environment variables

The site will respond to a environment variable called MONGO_URI. If MONGO_URI is set then the configuration storage will move from the /conf folder into the mongodb database pointed to by the MONGO_URI. This allows easy deployment of a calipso site to a nodejs hosting provider. To re-install or install, calipso will ask for an installation password which is a randomly generated string which will be logged to your log file. Copy this string and paste it into the UI to proceed. The system will overwrite and adjust the username/password your specify for the admin which previously was a little bit of a problem. To "re-install" use your mongo command shell to update the settings in the database as follows:

db.confs.update({environment:'development'},{$set:{"configuration.installed":false}})

or

db.confs.update({environment:'production'},{$set:{"configuration.installed":false}})

Using node v0.5.3 and later

Since node v0.5.3 has removed require.paths, in order to require(‘lib/calipso’), you must include the following to your file:

var rootpath = process.cwd() + '/',
  path = require('path'),
  calipso = require(path.join(rootpath, 'lib/calipso'));
That also goes for including anything that is based on the root path of the project directory.

Development Steps

To get running in development mode (not the site mode outlined on the front page) - e.g. so you can make changes to core and submit pull requests:

1.  Fork the repository
2.  Clone from your fork (replace YOURNAME!): git clone [email protected]:YOURNAME/calipso.git
3.  Run 'npm install -d' in the clone folder to install all of the dependencies.
4.  Run 'node app' to run Calipso from the source folder.

Note that the bin/calipso command line script is really designed to allow people who just want to use Calipso to build sites to use it, it isn't used in the dev process.  As always, any questions please do shout.

Calipso Command Line Client

The commands currently supported from the command line client are:

Commands That Run Anywhere

        calipso                            : Show this help file.
        calipso site <name|folder>         : Create site in folder.

Commands That Run In Site Folder

The most important of these at the moment is ‘modules check’ (this will ensure that all modules have all of their dependencies installed via npm), and should be run on site install.

        calipso install                    : Re-run site install.

        calipso cluster --port=3000        : Run as cluster.
        calipso server --port=3000         : Run as a single server.

        calipso modules list               : List installed modules.
        calipso modules check              : Check installation of all modules.
        calipso modules install *mod@ver   : Install module@version, or reinstall module.
        calipso modules download github    : Download module from github (e.g. cliftonc/calipso-elastic)
        calipso modules enable *mod        : Enable module.
        calipso modules disable *mod       : Disable module.

        calipso themes list                : List installed themes.
        calipso themes uninstall *theme    : Remove theme (delete from disk)
        calipso themes download *url       : Download (url: http://, gh: cliftonc/calipso-site-theme, repo: calipso-site).

Contributors

* Clifton Cunningham
* Andreas Richter
* Dennis Hall
* Cole Gillespie
* Jonathan Zacsh
* Jerad Bitner
* Martin Moen
* dale tan
* Nate Hunzaker

MIT License

Copyright (c)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWAR

More Repositories

1

express-mvc-bootstrap

Application template for a structured Node.js, Express, [Sequelizer in devel, Mongoose in master/Mongoose Branch], EJS & JQuery Application
JavaScript
273
star
2

calipso-site-theme

The theme used on the Calipso home page.
JavaScript
9
star
3

drupal_behat

BDD for Drupal
PHP
7
star
4

npm-users

Simple token based user account reset server for NPM.
JavaScript
5
star
5

seguir-example-application

Fully functional example app that uses the seguir social backend.
HTML
5
star
6

li3_drupal

Drupal 7 Module that integrates the Lithium MVC Framework. Why? Because of it's very strict namespacing, you can include it without any overlaps (you can't with Cake or Kohana). Accelerates building of non-content, complex apps.
PHP
4
star
7

composite-js

Javascript Composite Application Framework
JavaScript
4
star
8

eu-cookie

Very simple implementation of a cookie popup notice, configurable re. position and content, includes frequency capping.
JavaScript
3
star
9

KanbanPlan

Simple planning tool based on Gaelyk, Google App Engine and jQuery.
JavaScript
3
star
10

travelog

Travel planner and blog, with google maps and picassa integration.
PHP
3
star
11

calipso-repo

Repository module for calip.so
JavaScript
2
star
12

calipso-gallery-theme

Gallery theme for Calipso, used for photo blogs.
JavaScript
2
star
13

skelipso

Calipso site theme based on skeleton CSS framework
JavaScript
2
star
14

drupal-apps

Drupal Apps SDK
JavaScript
2
star
15

logging-response-node

Showing some basics
JavaScript
1
star
16

poplar-farm

JavaScript
1
star
17

ngmol

JavaScript
1
star
18

repo

JavaScript
1
star
19

gollum-wiki

Test of a gollum wiki.
1
star
20

composed

Example of traditional page composition options.
JavaScript
1
star
21

calipso-elastic

Elastic Search Module for Calipso - this is replicated in core, using this to test the module find, download, install process.
JavaScript
1
star
22

masiva

TBD
Groovy
1
star
23

seguir-express-middleware

Middleware for Express that quickly adds a set of endpoints for building social features into your app.
JavaScript
1
star
24

bosco-alt

Bosco returns (perhaps a bit simpler)
JavaScript
1
star