mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 06:04:41 -04:00
better install instructions and fixing usage typo
This commit is contained in:
parent
8f14fee299
commit
28244fc3a3
@ -2,22 +2,25 @@
|
|||||||
"title": "Installing Hugo",
|
"title": "Installing Hugo",
|
||||||
"Pubdate": "2013-07-01"
|
"Pubdate": "2013-07-01"
|
||||||
}
|
}
|
||||||
|
Hugo is written in GoLang with support for Windows, Linux, FreeBSD and OSX.
|
||||||
|
|
||||||
|
The latest release can be found at [hugo releases](https://github.com/spf13/hugo/releases)
|
||||||
|
We currently build for Windows, Linux, FreeBSD and OS X for x64
|
||||||
|
and 386 architectures.
|
||||||
|
|
||||||
|
Installation is very easy. Simply download the appropriate version for your
|
||||||
|
platform. Once downloaded it can be run from anywhere. You don't need to install
|
||||||
|
it into a global location. This works well for shared hosts and other systems
|
||||||
|
where you don't have a privileged account.
|
||||||
|
|
||||||
|
Ideally you should install it somewhere in your path for easy use. `/usr/local/bin`
|
||||||
|
is the most probable location.
|
||||||
|
|
||||||
|
*Hugo has no external dependencies.*
|
||||||
|
|
||||||
Installation is very easy. Simply download the appropriate version for your
|
Installation is very easy. Simply download the appropriate version for your
|
||||||
platform.
|
platform.
|
||||||
|
|
||||||
Hugo is written in GoLang with support for Windows, Linux and OSX.
|
|
||||||
|
|
||||||
<div class="alert alert-info">
|
|
||||||
Please make sure that you place the executable in your path. `/usr/local/bin`
|
|
||||||
is the most probable location.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
Hugo doesn't have any external dependencies, but can benefit from external
|
|
||||||
programs.
|
|
||||||
|
|
||||||
|
|
||||||
## Installing from source
|
## Installing from source
|
||||||
|
|
||||||
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
|
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
|
||||||
|
@ -15,7 +15,7 @@ Make sure either hugo is in your path or provide a path to it.
|
|||||||
-p="": filesystem path to read files relative from
|
-p="": filesystem path to read files relative from
|
||||||
-w=false: watch filesystem for changes and recreate as needed
|
-w=false: watch filesystem for changes and recreate as needed
|
||||||
-s=false: a (very) simple webserver
|
-s=false: a (very) simple webserver
|
||||||
-p="1313": port for webserver to run on
|
-port="1313": port for webserver to run on
|
||||||
|
|
||||||
## Common Usage Example:
|
## Common Usage Example:
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ directory being the input directory.
|
|||||||
|
|
||||||
$ hugo
|
$ hugo
|
||||||
> X pages created
|
> X pages created
|
||||||
> Y indicies created
|
> Y indexes created
|
||||||
|
|
||||||
|
|
||||||
If you are working on things and want to see the changes
|
If you are working on things and want to see the changes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user