Marketing page for PLTFM
$ git clone https://github.com/nappels/pltfm-www.git # Clone repository
$ make harp # Install Bower and Harp
$ make install # Install project dependencies
$ harp server # Start Harp server
$ harp compile
Files will be compiled into /www directory. Everything will minified and ready for deployment.
Refer to these docs for information regarding using partials and data throughout the app.
- Install Glue
cd
into/public/sprite_assets/
- Generate sprite:
glue public/assets/sprite_assets/ public/assets/sprites --margin=1 --padding=1 --retina --namespace='' --sprite-namespace='' --pseudo-class-separator=_
- Copy the generated CSS in the
/public/sprites/
directory to appropriate section of/public/styles/_sprites.less
. - Move generated sprites images in
/public/sprites/
directory to/public/images/
directory. You will need to change the name of these images to match the current name of the sprites. You may also want to optimize the images before deploying.
- Compile static assets:
harp compile
- Deploy to gh-pages:
gulp deploy
Staging url will be https://[github username].github.io/pltfm-www/