Wedding site for Joe & Liz
In your terminal, navigate to the folder you'd like to host the project in.
$ cd ~/path/to/parent/folder
Download the project into a new folder
$ git clone [email protected]:polymatt/joeandliz.git YourFolderName
Now the code should be downloaded and ready to run.
$ cd YourFolderName
Everytime you'd like to make changes to the project, first make sure to pull down the newest code so as to not overwrite concurrent work. (note: you need to be in the project folder to run the following commands)
$ git pull
Run the package complier.
$ bundle install
After the compiler has run successfully, you can start up the middleman development server.
$ bundle exec middleman
Point your browser to http://localhost:4567
At this point code should be live compliing from source and refreshing your browser window automattically as changes come in.
After you've made some chanegs, make sure to commit them to the GitHub repo.
$ git commit -am "Leave a message about what you did..."
Pull down any changes that might have been loaded remotely in the meantime.
$ git pull
And push your code up to GitHub.
$ git push
Once you have the site ready to puublish, you need to build and deploy it to GitHub pages.
$ rake publish
That's it! Joe & Liz