Skip to content

storbukas/leitemods.no

Repository files navigation

A website for Leitemods.

Getting Started

Download a copy of this repository

git clone https://github.com/storbukas/leitemods.no.git

Eventually, you can fork the repository

Prerequisites

You need to have Hugo installed on your machine in order to run the website locally

Install with Homebrew on macOS or Linux

brew install hugo

Or check out Hugo installation guide if using another operating system

Running it locally

Run it locally by issuing the following command in the folder where you have your code

hugo server

You can view your site at localhost:1313

Deployment

If you want to deploy the generated static site to your gh-pages branch, run

./publish_to_ghpages.sh

If deploying for the first time, you want to make the script runnable by issuing

chmod +x publish_to_ghpages.sh

Initialize Your gh-pages Branch

You can now initialize your gh-pages branch as an empty orphan branch:

git checkout --orphan gh-pages
git reset --hard
git commit --allow-empty -m "Initializing gh-pages branch"
git push upstream gh-pages
git checkout master

Working with submodules

We use the Chunky Poster as a submodule, if you want to update the submodule, run

git submodule update --remote

If you have made changes to the submodule locally, and wish to remove them, run

git submodule foreach --recursive git reset --hard
git submodule foreach --recursive git clean -fd

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Lars Erik Storbukås - Initial work - storbukas

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Based on the Chunky Poster theme