Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update README

  • Loading branch information...
commit b3bbbfba5196097a3f57ccf550904f37afd79289 1 parent f91c13d
@taylorlapeyre taylorlapeyre authored
Showing with 16 additions and 5 deletions.
  1. +16 −5 README.markdown
View
21 README.markdown
@@ -1,4 +1,4 @@
-### This is the new LBRN site, generated with [jekyll][1]
+# This is the new LBRN site, generated with [jekyll][1]
### Proper Development Workflow
@@ -7,23 +7,34 @@
1. Install [git][2] and [jekyll][3].
2. Clone this repository to your computer:
+
`$ git clone git@github.com:lbrn/lbrn-jekyll.git`
+
3. Create and add a pubic SSH key so that you can easily deploy to Github:
- `$ ssh-keygen -t rsa -C "your_email@example.com"` *(simply press enter until it finishes)*
- Copy the contents of ~/.ssh/id_rsa.pub` and add the key [here][4]
+
+ - `$ ssh-keygen -t rsa -C "your_email@example.com"` *(simply press enter until it finishes)*
+ - Copy the contents of ~/.ssh/id_rsa.pub` and add the key [here][4]
+
3. Add the LBRN Server so that you can deploy:
+
`$ git remote add server lbrn@test.lbrn.lsu.edu:~/lbrn-jekyll.git`
#### Editing The Site
- You can use `$ jekyll --server --auto` to see your changes on localhost:4000 while you develop. Press Ctrl+C to end.
- Edit the site using whatever editor you like. When you are satisfied with your change, add your changed files...
+
`$ git add --all`
+
- Commit the changes and add a short message explaining what you changed...
+
`$ git commit -m 'added a new news post`
+
- And publish your changes to Github and the server:
- `$ git push origin`
- `$ git push server`
+
+ - `$ git push origin`
+ - `$ git push server`
+
- Your changes will instantly be reflected on http://test.lbrn.lsu.edu!
Please sign in to comment.
Something went wrong with that request. Please try again.