View my website here.
The project has been bootstrapped with create-next-app
and nothing more.
-
Next.js
Next.js is a site generator for React that specializes in fast, static sites, so it's a perfect starting point for a React site hosted on GitHub Pages.
-
React.js
React is a flexible, non-opinionated JavaScript library for front-end development.
-
GitHub Pages
GitHub offers free hosting for static sites via GitHub Pages.
-
Clone the repo:
git clone https://github.com/DavideBruner/davidebruner.github.io portfolio
-
Navigate into the directory:
cd portfolio
-
Install the dependencies:
yarn # or npm install
-
Launch the development server:
yarn dev # or npm run dev
Open http://localhost:3000 with your browser to see the result.
The static generated site is deployed on Github Pages using the peaceiris/actions-gh-pages@v3
github action. (the next export
command generates the build into the ./out
directory by default)
Check .github/workflows/deploy.yml
for more details.