update readme & gitignore

This commit is contained in:
2024-12-23 18:42:09 +02:00
parent bec3aaf9c5
commit cf74850db2
2 changed files with 41 additions and 0 deletions

38
readme.md Normal file
View File

@@ -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.