Personal portfolio website based on this next.js template.
Note: The canonical repository is hosted on github
- install
node
glolbally - install
yarn
glolbally - set up Contentful, Netlify and Google Analytics
- copy
.env.example
and rename it toenv
. Add the correct values for the env variables. - add the same env variables to Netlify
yarn install
Starts the application in development mode (hot-code reloading, error reporting, etc)
Pulls data from contentful (make sure you added env variables both into a .env
and into your Netlify project)
Builds the app in production mode and exports it as static site ready to be hosted on Netlify.
Serves the static site. The application should be compiled with yarn static
first.
Compiles the application for production deployment (SSR).
Starts and serves the application in production mode. The application should be compiled with yarn build
first.
Builds the app and opens 2 graphs in the browser showing the app's bundle composition.
Lints scripts and styles.
Lints scripts and styles, and tries to auto-fix any errors.