838c7632da | ||
---|---|---|
archetypes | ||
content | ||
i18n | ||
install/hugo | ||
public | ||
resources/_gen/assets/css/ananke/css | ||
themes | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
build.sh | ||
check.sh | ||
config.toml | ||
deploy.sh | ||
pull.sh | ||
push.sh | ||
setup.sh | ||
test.sh |
README.md
Setup notes
Setup
Required Software
- bash terminal
- git
- hugo
- scp (or an alternative deployment method)
Windows setup
Install and run git-bash
-
Download and install Git for Windows
This can be downloaded from https://git-scm.com/download/win
Make sure to install "git-bash" during the setup process"
-
Open git-bash
search for git-bash from the start menu and open it
-
Add a name and email address (for identifying your commits)
git config --global user.email "you@example.com" git config --global user.name "Your Name"
Copy and Install the Project
-
Clone the repository
mkdir project-folder cd project-folder git clone --recursive https://git.disroot.org/ace/hugo-demo.git cd hugo-demo
-
Install Hugo
./install/hugo/git-bash.sh
-
Run setup script
./setup.sh
Workflow
Check remote servers for changes
./check.sh
Pull changes
./pull.sh
Start local test server
./test.sh
Push changes to remote git repositories
./push.sh
Build changes locally
./build.sh
Build and deploy changes
./deploy.sh