From 7cfc751cc84743b8e2bba8c8d614966526dc83a9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 10 Aug 2023 15:57:04 +0300 Subject: Update Readme and deploy hugo site --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e850d32..4962260 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,15 @@ # Local ## Prerequisites : -- Node v12 (or higher): `brew install node` -- Yarn: `brew install yarn` - -## Installation : -- Clone the repo. -- Run `yarn install` +- Hugo: `brew install hugo` ## Development : -- Run `yarn start` +- Run `hugo serve` ## Build : -- Run `yarn build` +- Run `hugo` ## Deploy : -- Run `yarn build` +- Run `hugo` - Copy the generated `public` directory to any hosting environment. (`srht.site`) # Docker @@ -23,7 +18,7 @@ ## Build - Run `docker build . -t website` -- Run `docker run -p 3333:3333 -it website` +- Run `docker run -p 1313:1313 -it website` or - Run `docker-compose build` - Run `docker-compose up` -- cgit v1.2.3