This is my first open source project, that provides me help to build a static website organized, standardized web apps with quality and agility.
Make sure you have all these dependencies installed before moving on:
1. Clone the project:
$ git clone https://github.com/thallesmarchetti/marchetti-boilerplate.git
2. Change directory to the cloned folder:
$ cd marchetti-boilerplate
3. Install required dependences:
$ yarn
4. Build project for development:
$ gulp
Now the local dev is running at localhost:8080 😄
The basic structure of the project is given in the following way:
│
├── app/
│ │── images/
│ │── javascript/
│ │ ├── scripts.js
│ │── stylus/
│ │ ├── main.styl
│ │── views/
│ │ │── content/
│ │ │ ├── main.html
│ │ │── includes/
│ │ │ ├── footer.html
│ │ │ ├── head.html
│ │ │ ├── header.html
│ │ │── layout/
│ │ │ ├── layout.html
│ │ │
│ └── index.html
│
├── .editorconfig
├── .eslintrc
├── .gitignore
├── gulpfile.js
├── LICENSE.md
├── package.json
└── README.md
Building a project requires a few dependencies, they are needed only during development and should not be installed on production. They will be installed along with your project dependencies when running yarn
command.
gulp
: run all tasks for development and initialize watch for changes and a servergulp deploy
: run all tasks to build
yarn dev
: run all tasks for development and initialize watch for changes and a server.yarn build
: run all tasks to build.
MIT License © Thalles Marchetti
Inspiration from some projects of my friend willian_justen