-
Notifications
You must be signed in to change notification settings - Fork 0
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
75a3571
commit b3bbed7
Showing
1 changed file
with
2 additions
and
37 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 |
---|---|---|
@@ -1,38 +1,3 @@ | ||
# Nanoc + Parcel + TailwindCSS | ||
# drug.org.pl | ||
|
||
Starter kit for static sites on [nanoc](https://nanoc.ws) with a bit of JavaScript and TailwindCSS styling. | ||
|
||
## Initial setup | ||
|
||
It is assumed you already have Ruby with Bundler and Node with Yarn present. | ||
|
||
``` | ||
./bin/setup | ||
``` | ||
|
||
## Build for production | ||
|
||
One-time processing with optimizations. | ||
|
||
``` | ||
./bin/build | ||
``` | ||
|
||
## Build for development | ||
|
||
Starts if foreground and live reloads HTML, JS and CSS changes. | ||
|
||
``` | ||
./bin/server | ||
open http://localhost:3000/ | ||
``` | ||
|
||
## Unpacking latest release into current directory | ||
|
||
``` | ||
curl -s https://api.github.com/repos/arkency/nanoc-parcel-tailwind-starter/releases/latest |\ | ||
grep tarball_url |\ | ||
cut -d'"' -f4 |\ | ||
xargs -n 1 curl -sSL |\ | ||
tar -xz --strip-components=1 | ||
``` | ||
Make changes to `content/index.html` and it will publish from default branch. |