mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 08:10:41 +00:00
Add fontawesome
This commit is contained in:
parent
21f4356ff9
commit
753f8f0e1a
5 changed files with 41 additions and 9 deletions
17
README.md
17
README.md
|
@ -8,9 +8,16 @@ This is the source code for my personal portfolio, hosted on [my website](http:/
|
|||
|
||||
## Building the website
|
||||
|
||||
The website is built using [hugo](https://gohugo.io/), but you will also need `npm` for [Bootstrap SASS](https://getbootstrap.com/docs/5.0/customize/sass/).
|
||||
The `npm` dependencies are listed in [`package.json`](./package.json) and can be installed simply by running `npm install`.
|
||||
The website is built using [hugo](https://gohugo.io/), but you will also need `npm`.
|
||||
`npm` is necessary for the ease of version control it provides for the packages we need. These include things such as:
|
||||
- [Bootstrap SASS](https://getbootstrap.com/docs/5.0/customize/sass/)
|
||||
- [Font Awesome (Free)](https://fontawesome.com/).
|
||||
|
||||
After all NPM requirements are satisfied, to build the static webpage, run [`./scripts/build.sh`](./scripts/build.sh), which will create a `./public` directory.
|
||||
This directory will contain all static files and can be used as a location for the file server. You can also use [`./scripts/server.sh`](./scripts/server.sh), which
|
||||
will start the server directly with hugo. By default, this will use `http://localhost:1313`.
|
||||
All `npm` dependencies are listed in [`package.json`](./package.json) and can be installed simply by running `npm install`.
|
||||
|
||||
After all NPM requirements are satisfied, to build the static webpage and `hugo` is installed, run [`./scripts/build.sh`](./scripts/build.sh),
|
||||
which will create a `./public` directory. This directory will contain all static files and can be used as a location for the file server.
|
||||
|
||||
You can then use any file server of your liking to make the webpage available, if you want to stick to hugo, you can also use
|
||||
[`scripts/server.sh`](./scripts/server.sh), however using this can be a bit slower than using some other tools.
|
||||
If using the script, it will start the server directly with hugo on `http://localhost:1313`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue