Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorlapeyre committed Apr 10, 2013
1 parent 85a53c2 commit 7c305b3
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions README.markdown
Expand Up @@ -7,27 +7,39 @@

1. Install [git][2] and [jekyll][3].
2. Clone this repository to your computer:
- `$ git clone git@github.com:lbrn/lbrn-jekyll.git`
``` bash
$ 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]
```bash
$ ssh-keygen -t rsa -C "your_email@example.com"
```
Simply press enter until it finishes, and then 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`
```bash
$ git remote add server lbrn@test.lbrn.lsu.edu:~/lbrn-jekyll.git
```

#### Editing The Site

1. You can use `$ jekyll --server --auto` to see your changes on localhost:4000 while you develop. Press Ctrl+C to end.
2. Edit the site using whatever editor you like. When you are satisfied with your change, add your changed files...
- `$ git add --all`
1. You can use `$ jekyll --server --auto` to see your changes on [localhost:4000](http://localhost:4000) while you develop. Press `ctrl+c` to end.
2. Edit the site using whatever editor you like. When you are satisfied with your change, add your changed files..
```bash
$ git add --all
```

3. Commit the changes and add a short message explaining what you changed...
- `$ git commit -m 'added a new news post`
```bash
$ git commit -m "added a new news post"
```

4. And publish your changes to Github and the server:
- `$ git push origin`
- `$ git push server`
```bash
$ git push origin
$ git push server
```

5. Your changes will instantly be reflected on http://test.lbrn.lsu.edu!

Expand Down

0 comments on commit 7c305b3

Please sign in to comment.