Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (35 sloc) 2.432 kb
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
1 # Nesta CMS App Template
2
537db2c @rwdaigle Trying to fix python lib issue
authored
3 See an example of this template and the bundled [clean theme](https://github.com/rwdaigle/nesta-theme-clean) running on Heroku at [http://glowing-robot-5990.herokuapp.com/](http://glowing-robot-5990.herokuapp.com/).
4
db3e099 @rwdaigle Add screenshot of getting started article link
authored
5 ![App template screenshote](http://f.cl.ly/items/181g441O352Z2M0M1S2J/Screen%20shot%202012-02-20%20at%204.36.37%20PM.png)
6
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
7 See this blog post for full background, installation and usage details: [http://ryandaigle.com/a/pygments-syntax-highlighting-nesta-cms-heroku](http://ryandaigle.com/a/pygments-syntax-highlighting-nesta-cms-heroku)
8
9 ## Run locally
10
7d39915 @rwdaigle Update script mention
authored
11 Fork this repo on GitHub and clone locally to get the source on your local environment. Then run:
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
12
13 ```term
14 $ bundle install
15 Fetching git://github.com/krohrbaugh/rack-pygmoku.git
16 remote: Counting objects: 90, done.
17 ...
18 Using bundler (1.0.15)
19 Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
20
427dec8 @rwdaigle Call out need to git submodule update locally
authored
21 $ git submodule update -i
22 Submodule 'themes/clean' (git@github.com:rwdaigle/nesta-theme-clean.git) registered for path 'themes/clean'
23 Cloning into themes/clean...
24 remote: Counting objects: 80, done.
25 remote: Compressing objects: 100% (65/65), done.
26 remote: Total 80 (delta 25), reused 67 (delta 12)
27 Receiving objects: 100% (80/80), 66.09 KiB, done.
28 Resolving deltas: 100% (25/25), done.
29 Submodule path 'themes/clean': checked out 'c8b704fe4b7c1b602460f5923b14b75e9e3ea42b'
30
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
31 $ foreman start
32 14:25:47 web.1 | started with pid 59647
33 ```
34
7d39915 @rwdaigle Update script mention
authored
35 Open your browser to [http://localhost:5000](http://localhost:5000) to see the site running locally with default configuration values.
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
36
37 ## Deploying
38
7d39915 @rwdaigle Update script mention
authored
39 Assuming you have a Heroku account and have successfully installed the [Heroku Toolbelt](http://toolbelt.heroku.com) you can use [this script](https://raw.github.com/rwdaigle/nesta-app-template/master/deploy.sh) to quickly deploy the site to Heroku, install any dependencies and setup the appropriate configuration.
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
40
7d39915 @rwdaigle Update script mention
authored
41 **The site will _not_ incur any charges on Heroku and does not use `sudo`. Please review the [script source](https://raw.github.com/rwdaigle/nesta-app-template/master/deploy.sh) before executing.**
ae58f48 @rwdaigle Deploy script, instructions and starter post
authored
42
43 ```term
caeac34 @rwdaigle Clean up deploy/update scripts.
authored
44 $ ./deploy.sh
b6baf22 @rwdaigle Add screenshot to readme
authored
45 ```
46
47 ## Next
48
db3e099 @rwdaigle Add screenshot of getting started article link
authored
49 Once the app is running view the 'Getting Started with the Nesta CMS App Template' entry to see how to customize, update and maintain the site.
50
51 ![Getting started](http://f.cl.ly/items/2q3X3J3T0M2D1f372f1V/Screen%20shot%202012-02-20%20at%204.38.39%20PM.png)
Something went wrong with that request. Please try again.