This is a repository with content for our static websites generated by Hugo. It's inspired by Jetlio's blog post.
It's quite simple.
-
Install git.
-
Install Docker engine.
-
Install Visual Studio Code.
-
Then install vscode Dev Containers extension. VS Marketplace Link
-
Clone this repository and open it in vscode.
# SSH git clone [email protected]:rudickamladez/rudickamladez.cz.git && cd rudickamladez.cz && code . # or HTTPS git clone https://github.com/rudickamladez/rudickamladez.cz.git && cd rudickamladez.cz && code .
-
Click to
Reopen in Container
button in the right bottom. -
Then switch to your new git branch.
git checkout -b new-branch
-
Now you can open your web browser with local environment.
-
Edit some stuff and check it in browser.
-
Create Git commit.
git commit -m "HERE DESCRIBE YOUR CHANGES"
-
After some commits you can push the branch
git push origin new-branch
-
When you check deploy preview on Netlify create a Pull Request.