From 8b567d233fa092113f51414ee871d6a92716c859 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Tue, 10 Jan 2023 20:49:43 -0300 Subject: Added README --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..72354b6 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +yams.media +========== + +This are the source files for https://yams.media. + +## Dependencies + +- hugo. +- cwebp (development only). + +## To run + +### For development + +``` sh +git clone git@gitlab.com:rogs/yams.media.git +cd yams.media +ln -s $(pwd)/pre-commit $(pwd)/.git/hooks # for pre-commit hooks +hugo serve +``` +And open http://localhost:1313 to see the site. + +#### About the pre-commit hooks and MacOS + +If you are in MacOS you might have problems because of the `sed` command. If you are having problems, just change `sed -i` for `sed -i ''` and you'll be good to go! Please do not commit this change into the repository. + +### For production + +``` sh +git clone git@gitlab.com:rogs/yams.media.git +cd yams.media +hugo +``` + +Your files will be on the ``./public` folder, ready to upload to a server. -- cgit v1.2.3