theme | transition | highlightTheme | logoImg | slideNumber | title |
---|---|---|---|---|---|
black |
convex |
monokai |
./images/sigma_club.jpg |
false |
Hacktoberfest 2022 |
- personal website
- Sigma Club website
- Digital Museum Gallery
- Event website
--
--
- Download and setup Hugo for windows
--
-
(for advanced contributions) Download Go -https://go.dev/dl/
-
setup Hugo
-
create a personal website
-
clone a hugo theme
-
deploy to Github -https://gohugo.io/hosting-and-deployment/hosting-on-github/
--
-
hugo new site <your website's name>
-
cd <your website's name>/themes/
- Clone the raditian-free-hugo-theme
git clone https://github.com/radity/raditian-free-hugo-theme.git)
--
-
Replace the "config.toml" file in your project's root directory with /themes/raditian-free-hugo-theme/exampleSite/config.toml
-
delete .git folder in
/themes/raditian-free-hugo-theme/ -
change baseURL in me/config.toml
baseURL = "https://bvjsciencecentre.github.io/me/"` -
To start the server
hugo server -D
--
Refer this site- https://gohugo.io/hosting-and-deployment/hosting-on-github/
- Create a file in
me/.github/workflows/gh-pages.yml - copy the gh-pages.yml snippet.
- cd me/
git init - add the branch
git branch -M main
--
-
commit all the changes
git commit -m "first commit" -
add the link of github repo to local repo
git remote add origin https://github.com/bvjsciencecentre/me.git
-
push all the changes to github git push -u origin main
-
Go to Settings > GitHub Pages, and change the source branch to gh-pages
SESSION 3 - Hacking time ends
HACKATHON BEGINS
Please lookup the hackathon_task.md file