Skip to content

danrocha/danroc-nuxt

Repository files navigation

Codebase of the website danroc.dev, my personal dev blog.



Built With

Hosted on

  • Netlify - front end, static hosting (this repo)

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

# run unit tests
$ npm run test:unit

# run integration tests
$ npm run cy:open

For detailed explanation on how things work, check out Nuxt.js docs.

Git branching system

I follow the "3-flow" branching system:

  • There are three branches in origin: master, candidate, release
  • Normal development happens on master. All new commits are rebased.
  • Features that are incomplete are put behind feature toggles, ideally dynamic toggles that can be changed without a redeploy
  • To cut a release, master is merged into candidate with a --no-ff merge commit
  • Any bugs found during a candidate’s QA phase are fixed in candidate and then merged into master with a --no-ff merge commit
  • When a candidate is released to production, it’s push --forced to the tip of release
  • Any production hotfixes happen in release and are then merged into candidate which is then merged into master.

Author

  • Daniel da Rocha - Creator and Full-stack Developer - danrocha

License

This project is licensed under the MIT License.