Built with Gatsby.js and hosted with Vercel
Important
This project requires Node.js version 18 or higher: Node.js official website
-
Install the Gatsby CLI
npm install -g gatsby-cli # or yarn global add gatsby-cli, pnpm add --global gatsby-cli, bun add --global gatsby-cli
-
Clone the repository
git clone https://github.com/nragland37/my-portfolio.git cd my-portfolio
-
Install dependencies
npm install # or yarn, pnpm, bun
-
Start the development server
npm start # or yarn start, pnpm start, bun start
Open in browser: http://localhost:8000
To prepare your project for deployment:
-
Build the project
npm run build # or yarn build, pnpm build, bun build
-
Serve the production build
Test how the production build performs in a simulated server environment locally:
npm run serve # or yarn serve, pnpm serve, bun serve
Open in browser: http://localhost:9000
Command | Description |
---|---|
npm start |
Runs gatsby develop , starting the development server. |
npm run build |
Compiles the project for production using gatsby build . |
npm run serve |
Serves the built project using gatsby serve . |
npm run clean |
Clears Gatsby's .cache and public directories. |
npm run format |
Formats code using Prettier. |
npm run check |
Checks if the code is formatted correctly without making changes. |
Inspired by the portfolios of Brittany Chiang, Adham Dannaway, and Charles Bruyerre.