This is the new LBRN site, generated with jekyll
$ git clone git@github.com:lbrn/lbrn-jekyll.git
- 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
- Add the LBRN Server so that you can deploy:
$ git remote add server lbrn@test.lbrn.lsu.edu:~/lbrn-jekyll.git
-
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
-
Your changes will instantly be reflected on http://test.lbrn.lsu.edu!