mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2025-12-21 13:12:22 +00:00
update readme & gitignore
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,3 +6,6 @@ hugo.linux
|
|||||||
hugo.darwin
|
hugo.darwin
|
||||||
|
|
||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
.vscode/
|
||||||
|
|||||||
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