Skip to content

Photography showcase. Has some bug/fixes tweaks not in original repo.

License

Notifications You must be signed in to change notification settings

mobeigi/photography

 
 

Repository files navigation

Forked from

https://github.com/rampatra/photography

Changes


Run the website locally to test

  1. $ cd photography - go to the project directory
  2. $ bundle install - install gems
  3. Change the baseurl in _config.yml
  4. $ bundle exec jekyll serve - start/run the website

Build the website

  1. $ cd photography - go to the project directory
  2. $ npm install - install all npm dependencies
  3. $ gulp - minify css, js, resize images, etc.

Note: You only need to build the website if you make changes such as replacing the images, modifying the css styles, etc.

ProTips

Resize Images

I have made this as a npm package with gulp to automate image resizing and thumbnail generation. So if you're lazy like me then you can just do the following before you push your images to github.

  1. Fork and clone the project to your computer
  2. Go inside the project $ cd photography
  3. Install all dependencies by $ npm install
  4. Copy all your pictures (possibly jpg, the largest size available, straight from your camera) and put it inside images directory
  5. Run $ gulp resize to resize the images and to generate thumbnails automatically
  6. Push your changes to github.com by $ git add --all and $ git commit -m "a nice commit message" and then finally $ git push origin master

About

Photography showcase. Has some bug/fixes tweaks not in original repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.1%
  • SCSS 27.7%
  • CSS 25.0%
  • HTML 3.2%