Updated README with deploy info
This commit is contained in:
26
README.md
26
README.md
@ -1,8 +1,22 @@
|
|||||||
```shell
|
```shell
|
||||||
git clone https://git.hackanooga.com/mikeconrad/hackanooga.com.git
|
|
||||||
cd hackanooga.com
|
$ git clone https://git.hackanooga.com/mikeconrad/hackanooga.com.git
|
||||||
git checkout master
|
$ cd hackanooga.com
|
||||||
git submodule init
|
$ git checkout master
|
||||||
git submodule update
|
$ git submodule init
|
||||||
hugo server --disableFastRender
|
$ git submodule update
|
||||||
|
$ hugo server --disableFastRender
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
I created a super simple shell script to automate deployment. It requires the wrangler cli to be installed:
|
||||||
|
```shell
|
||||||
|
$ npm i -g wrangler
|
||||||
|
```
|
||||||
|
|
||||||
|
Once you have wrangler installed, simply run:
|
||||||
|
```shell
|
||||||
|
$ bash deploy.sh
|
||||||
|
```
|
||||||
|
The first time, you will be asked to authenticate to Cloudflare.
|
Reference in New Issue
Block a user