7 ### Install divshot-cli
10 $ npm install -g divshot-cli
14 ### Create divshot.json
31 See [configuration reference](https://docs.divshot.com/guides/configuration) and [routing guide](https://docs.divshot.com/guides/routing).
38 "clean_urls": ["/app/**", "/!components/**"],,
39 "error_page": "error.html",
40 "exclude": [ "Gruntfile.js" ],
43 "/*.html": "index.html",
44 "/app/**/*.html": "app.html",
48 "/old/:segment/path": "/new/path/:segment",
51 "url": "/some/new/path"
56 "Access-Control-Allow-Origin": "*"
59 "content-type": "text/javascript"
70 divshot push [staging|production|development]
71 divshot pull [staging|production|development]
72 divshot purge # cleans cache
75 divshot promote development production
85 divshot config:add name your-app-name
86 divshot config:remove name
92 divshot env:add <env> KEY=value
93 divshot env:remove <env> KEY
94 divshot env:pull <env>
100 divshot create <appname>
101 divshot rename <newname>
113 divshot protect <env> <username:password>
118 See [custom domains guide](http://docs.divshot.com/guides/domains).
121 divshot domains:add foo.bar.com
124 In your DNS create a `CNAME`: (no apex domains are supported)
127 www. CNAME yourname.divshot.io