dna-cli
v1.1.101
Published
DNA - Docker Nginx AngularJS Front-end Framework
Downloads
39
Readme
The DNA framework lets you build deploy ready scalable angular apps in docker containers. Out of the box its a fully functional site with user login, leads management, Prismic integration for CMS. Think Wordpress, without all the bloat and completely scalable with docker. It ships ready to connect to your own RESTful API. Its designed to allow you to only focus on the HTML and CSS and minimal Javascript. It is based on Docker, Nginx & AngularJS
Follow @HivebridgeLabs on Twitter for important announcements.
Installation
To install DNA, use npm
. The preferred method is to install DNA CLI as a global dependency:
npm install dna-cli -g
Quick start
To assemble a site run:
cd my-website
dna assemble
To start a dna container:
cd my-website
dna start
To stop a dna container:
cd my-website
dna stop
To update a project
cd my-website
dna update
To add a page using the default theme, eg my-website.com/dna-is-awesome
run:
cd my-website
dna page dna-is-awesome default
To completely reset/rebuild your site (thread lightly! this will delete your current site)
cd my-website
dna rebuild