Static Website Boilerplate
This boilterplate is based on html5boilerplate
. You need to have Docker installed and that is it! you are ready to go. Here is an example of using this boilerplate
Features
- Gulp
- Docker
- Typescript
- Mustahe as templeting engine
- Font Awesome
- Sass
- Live reload using Browsersync
- Default print styles, performance optimized.
- Apache Server Configs that, among other, improve the web site’s performance and security
- Normalize.css
- A custom build of Modernizr for feature detection
Getting Started
Clone the repo
git clone https://github.com/BasselAlshK/static-website.git
Build Docker image & run docker container to install the dependencies
cd static-website
make run-buildImage
file executable, then run:
./run-buildImage
To run this project in development mode; make run-dev
file executable, then run:
./run-dev
Then open http://localhost:3000/ to see your app.
To run this project in production mode, make run-prod
file executable, then run:
./run-prod
this will create a folder public
which contains minfied and optimized files ready to be deployed.
to install npm newPackage
, run:
docker run -it --rm -v $(pwd):/usr/node-app bassel/web-app npm install `newPackage`
User Guide
to be continued