Skip to content

michelesantacatterina/mywebsite-hugo

Repository files navigation

How to deploy website

  1. ###Clone mywebsite-hugo repo from github

    cd ~/Documents/Github/

    git clone https://github.com/michelesantacatterina/mywebsite-hugo.git

  2. ###Clone michelesantacatterina repo from github

    cd ~/Documents/Github/

    git clone https://github.com/michelesantacatterina/michelesantacatterina.github.io.git

  3. ###Change the website's contents (use markdown)

    cd /Users/micsan/Documents/Github/mywebsite-hugo/

    hugo server

    http://localhost:1313/

    ctrl+c to stop server

  4. ###Remove old public folder

    rm -rf public

  5. ###Build website

    hugo

  6. ###Add new content to michelesantacatterina.github.io

    cd ..

    cd michelesantacatterina.github.io

    cp -av /Users/micsan/Documents/Github/mywebsite-hugo/public/* .

    git add -A

    git commit -m "updates"

    git push origin master

Notes. ### Some notets

If you want to add/remove info about social media, use config.toml (HugoBlox/hugo-blox-builder#644)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published