Skip to content

jacbac/cafe_panique

Repository files navigation

Café Panique

Novel excerpts, photos, typography, responsive, etc. A secluded place for own design enhancements, minor tests and "at that time" lectures and/or inspirations.

Demo

Fork it to propose enhancements, as it is in a master branch, you can show the result of your version to anyone via URLs formed like this:

https://{GitHub_username}.github.com/cafe-panique/

Required for dev

  • Git
  • Node
  • A browser
  • npm

Install

cd ~/your_workspace
git clone {YOUR_CAFE_PANIQUE_FORK}
cd cafe_panique
git checkout master
[sudo] npm install

Finally,

npm start

🤘 That's it. Up and running !

Deploy on gh-pages

Disclaimer: You mustn't work on gh-pages branch ! Make your change only on master branch, build / test under control of browser-sync tool then deploy.

Use gulp-gh-pages for deployment on the github pages.

The npm run deploy command run the gulp build task before committing and pushing to gh-pages remote branch.

Test and verify your code locally:

cd cafe_panique
git checkout master
bump version in package.json
git commit -m "..."
git push

npm run deploy

🤘 That's it. Test online on http://{YOUR_GITHUB_USERNAME}.github.com/cafe-panique/

Thanks

Dev made possible with

Assets optimization

Image optimization

Deployment