-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f56189
commit 0d65e07
Showing
19 changed files
with
73 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SoundTown Site | ||
|
||
``` | ||
minimum hugo version 0.92.2 | ||
tailwindcss version 3.1.5 | ||
``` | ||
|
||
# Setup dev env | ||
|
||
Run "npm install" (first time only) | ||
|
||
Then configure "config.toml" | ||
|
||
# Run hugo server | ||
|
||
1. Hugo only | ||
|
||
``` | ||
hugo serve -D | ||
``` | ||
|
||
2. Hugo with tailwindcss watcher (dev) | ||
|
||
``` | ||
hugo serve -D | ||
``` | ||
|
||
then run tailwindcss server | ||
|
||
``` | ||
npm run watch | ||
``` | ||
|
||
3. Generate Tailwind CSS (production) | ||
|
||
``` | ||
npm run buildcss | ||
``` | ||
|
||
Tailwind CSS file located at "./tailwindcss". | ||
Generated Tailwind CSS located at "./static/css/main.css". | ||
|
||
# Build hugo site | ||
|
||
``` | ||
hugo --ignoreCache --minify | ||
``` | ||
|
||
# To create new page | ||
|
||
``` | ||
hugo new content/page_name.md | ||
``` | ||
|
||
and then edit file located at "./content/page_name.md", setup frontmatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes