Simple, impressive and clean personal / portfolio website
- Install nvm
- Setup node
nvm install
nvm use
- Install NPM packages
npm install
- Start development server
npm run dev
- Perform build, this will generate static HTML site using SSG
npm run build
- Use nginx, apache or similar http server to setup site, here is nginx configuration file
- Set NEXT_PUBLIC_GOOGLE_ANALYTICS_ID environment variable
# .env.production
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID = "G-<GA_ID>"
- Set environment variable in your Linux shell and perform build
export NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-<GA_ID>" && npm run build
Refer assets/scss/globals.scss