Skip to content

Commit

Permalink
Init README-FirePress-Dev.md (squash)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalandy committed Dec 21, 2020
1 parent c77524d commit 5fab839
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README-FirePress-Dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## Set your local dev environment

- Update ENV `theme_path`
- It assumes that you use [nvm](https://github.com/nvm-sh/nvm) to manage node versions.

```
theme_path="/Volumes/960G/_pascalandy/11_FirePress/Github/firepress-org/Casper"
#
## set node version
cd ${theme_path} && \
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
#
#nvm install v12.18.4 &&\
#nvm use v12.18.4 &&\
#
nvm install 'lts/*' --reinstall-packages-from=current &&\
nvm use --lts &&\
nvm install-latest-npm &&\
node --version;
```

## update your theme

```
yarn install &&\
yarn dev;
```

## compile your theme
```
## compile your theme
yarn test:ci &&\
yarn test &&\
yarn pretest &&\
yarn test &&\
yarn zip &&\
cd dist && echo; pwd; echo; ls -AlhF; echo; du -sh;
```

0 comments on commit 5fab839

Please sign in to comment.