contentstack-framework

0.1.21 • Public • Published

Built.io Contentstack

node.js web framework for Built.io Contentstack

Notice: This framework has been deprecated and will be retired from Built.io Contentstack soon. It is highly recommended that you switch to the contentstack-express instead.

Installation

Run the following command in a Terminal or Command Prompt to globally install the latest version of Built.io Contentstack framework on your system:

$ npm install -g contentstack-framework

You might need administrator privileges to perform this installation.

Setup a site

Navigate to a folder of your choice in the Terminal and create a site.

$ contentstack create
 
$ What would you like to do?
  (1) Create a new site.
  (2) Connect to an existing site.

Choose the first option and you'll be guided through a step-by-step procedure to create the directory where the site's files will be kept. Authenticate using your email id and password before doing so.

$ Enter the site name: my_new_site
$ Enter name of the directory to contain the project: (my_new_site)

Then create a publishing environment where the content will be made available.

$ Enter the publishing environment name: (development)
$ Enter the endpoint for publishing environment: (http://localhost:4000/)

The site development folder houses all templates and configuration files related to the website. The framework will navigate to this folder and install the site dependencies automatically.

Run the Site

Navigate to this folder and start the application.

cd my_new_site
$ npm start

The default environment is 'development' with '4000' port.

Links

License

MIT Copyright © 2015 raw engineering, inc.

Dependencies (21)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i contentstack-framework

    Weekly Downloads

    3

    Version

    0.1.21

    License

    MIT

    Last publish

    Collaborators

    • hiteshbal
    • mynk