commit porto oficial website
# install dependencies
yarn install
# serve with hot reload at localhost:8080
yarn start
# build for production with minification (deploys to gh-pages)
yarn deploy
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
Older editions are archived in alumniei/commitporto-previous.
Each edition is under the path /<YEAR>
(ex: 2019 edition is at https://previous.commitporto.com/2019)
To build a static version of the previous edition:
- Change the favicon's
href
in the fileindex.html
from/static/favicon.ico
to/<YEAR>/static/favicon.ico
- In the file
config/index.js
change the variablebuild.assetsPublicPath
from/
to/<YEAR>/
- Change the path to the
Homepage
. In the filesrc/router/index.js
change thepath
of theHomepage
route from/
to/<YEAR>
- Build a static version with
$ yarn run build
- Copy the ALL generated content from the
dist
folder to the matching folder in the commitporto-previous repository~/git/commitporto-previous/<YEAR>
- Commit & push. Github pages should deployt it automatically :)