Skip to content

Instantly share code, notes, and snippets.

@goFrendiAsgard
Created March 2, 2018 09:15
Show Gist options
  • Select an option

  • Save goFrendiAsgard/b25d07c97e4eef4c3c5aa27d9a226737 to your computer and use it in GitHub Desktop.

Select an option

Save goFrendiAsgard/b25d07c97e4eef4c3c5aa27d9a226737 to your computer and use it in GitHub Desktop.
Chimera-CMS

Agile Development

  • Individuals and Interactions over processes and tools
  • Working Software over comprehensive documentation
  • Customer Collaboration over contract negotiation
  • Responding to Change over following a plan

Tools

  • MongoDB
  • Node.Js
  • NPM (Node Package Manager)
  • git (Sofware versioning system)
  • Chimera-CMS

Alternative Tools

  • Ruby on Rails (Scaffolding, ORM)
  • Laravel (ORM: Eloquent)
  • Yii (Generator: GII)

Installation (Linux)

sudo apt-get install mongodb node git
npm install -g chimera-framework

Installation (Windows)

Generate Project

gofrendi@asgard:~$ chimera-init-cms myApp
Mongodb Url (mongodb://localhost/myApp): 
[INFO] Read chimera-framework's package.json...
[INFO] Done...
[INFO] Clone CMS...
Cloning into 'myApp'...
[INFO] Done...
[INFO] Creating project's package.json...
[INFO] Done...
[INFO] Creating webConfig.default.js...
[INFO] Done...
[INFO] Creating webConfig.js...
[INFO] Done...
[INFO] Performing npm install...
[INFO] Done...
[INFO] Performing migration...
SuperAdmin username:  admin
SuperAdmin email:  admin@admin.com
SuperAdmin password:  admin
[INFO] Migration succeed
* 0.000-cck up
* 0.001-insert-user up
* 0.002-default-routes up
* 0.003-default-configs up
* 0.004-default-groups up
Complete...
gofrendi@asgard:~$ 

Start Server

cd myApp
npm start

Access

Open your browser and type this address URL:

http://localhost:3000

CCK (Content Construction Kit)

Click on

Setting|Content Construction Kit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment