Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.06 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.06 KB

CMS on Sails

A content management system built on top of JavaScript, using Sails.js

  1. download the repository

    git clone https://github.com/hayksaakian/cms-on-sails.git cd cms-on-sails

  2. get started:

    npm install

  3. lift your sails

    sails lift

Now you're good to go!

You can modify your configuration by logging into the website and editing the admin panel

What is this?

a Sails application

sails new blog --linker sails generate model Article title:string content:string sails generate controller Article index show new edit

...

Profit!

business

authentication slugs for urls

controller

CRUD article CRUD comment override, and add redirects

models

article comment page

views

article: index, show, form, edit/new, partials (comment/article) page: index, show, form, edit/new, partials -- markdown editor

prepare database for prod

add relevant database adaptor via npm set options in connections.js choose adaptor in models.js

todo:

authorization for page editing remove epic editor altogther