mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2025-12-21 21:22:22 +00:00
update readme & gitignore
This commit is contained in:
38
readme.md
Normal file
38
readme.md
Normal 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.
|
||||
Reference in New Issue
Block a user