Skip to content

youthradio/note-to-parents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1363c85 · Jan 22, 2022
Jan 8, 2020
Jan 8, 2020
Jan 7, 2020
Jan 10, 2020
Jan 8, 2020
Jan 10, 2020
Nov 22, 2019
Nov 22, 2019
Nov 22, 2019
Dec 4, 2019
Jan 9, 2020
Nov 22, 2019
Jan 8, 2020
Nov 22, 2019
Nov 22, 2019
Nov 22, 2019
Jan 7, 2020
Nov 22, 2019
Jan 8, 2020
Jan 22, 2022
Jan 22, 2022
Jan 8, 2020
Nov 28, 2019

Repository files navigation

A College Guide to ... Myself

My stunning Nuxt.js project

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

Initial setup up for gh-pages worktree branch


Checkout

$ git checkout --orphan gh-pages
$ git reset --hard
$ git commit --allow-empty -m "Init"
$ git checkout master

Make your worktree to your deploy folder

$ rm -rf _site
$ git worktree add _site gh-pages

Deploy

First time
git clone --single-branch --branch gh-pages git@github.com:youthradio/PROJECTNAME.git

Update

git fetch 
git reset --hard FETCH_HEAD
git clean -df