|Christopher Schäpers ecb916e4f9 More photos||1 个月前|
A jekyll website for photographers
build.sh says how to build the page (locally or so), resize.sh creates full images and thumbnails (to be run from root)
If you know a tad about tech and love taking pictures then this open-source project may help you setup a website to showcase all your creations without effort. And not just that, with this you need not pay a single dime to host your website as it's hosted by GitHub for free.
Just follow the below steps and your website would be live in no time:
Forkbutton at the top right corner.
images/thumbsdirectory. You can do that on github.com itself or you can clone and push the images to your repo.
CNAMEfile or just remove the file if you don't own a domain and use the default domain that github provides ([yourusername].github.io/photography).
_config.ymlfile with whatever domain you used in step 4.
And of course, you don't want my name at the bottom to show up. You can change it in
_config.yml file as well as few other settings like your google analytics etc.
$ cd photography
$ npm install
$ gulpto resize the images and to generate thumbnails automatically
$ git add --alland
$ git commit -m "a nice commit message"and then finally
$ git push origin master
You can make the contact form work without the need of any server-side code. Just follow this article on github which uses a simple google script to send emails or to upload to a google spreadsheet when someone submits the form.