From cf74850db2f308d4e6b7460c6d0c14501ecb0655 Mon Sep 17 00:00:00 2001 From: Oleh Omelchenko Date: Mon, 23 Dec 2024 18:42:09 +0200 Subject: [PATCH] update readme & gitignore --- .gitignore | 3 +++ readme.md | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 readme.md diff --git a/.gitignore b/.gitignore index 7e2fcd9..4681ea8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ hugo.linux hugo.darwin .hugo_build.lock + +.DS_Store +.vscode/ diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..892f660 --- /dev/null +++ b/readme.md @@ -0,0 +1,38 @@ +# Olehomelchenko.com + +## Installation + +1. Clone the repository: + ```sh + git clone https://github.com/olehomelchenko/olehomelchenko.com.git + cd olehomelchenko.com + ``` + +2. Install Hugo: + ```sh + brew install hugo + ``` + +## Development + +To start the development server, run: +```sh +hugo server +``` +This will start the server at `http://localhost:1313`. + +## Build + +To build the project for production, run: +```sh +hugo +``` +The output will be in the `public` directory. + +## Create New Content + +To create new content, use the following command: +```sh +hugo new posts/your-new-post.md +``` +This will create a new markdown file in the `content/posts` directory.