-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Cptcr edited this page May 2, 2025
·
1 revision
Follow these steps to set up the Next.js Portfolio on your local development environment.
Make sure you have the following installed:
- [Node.js](https://nodejs.org/) (v16 or newer)
- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)
- (Optional) [Git](https://git-scm.com/) for cloning the repo
You can check your versions with:
node -v
npm -vgit clone https://github.com/cptcr/next.js_portfolio.git
cd next.js_portfolioUsing npm:
npm installOr using yarn:
yarnStart the development server:
npm run devThen open http://localhost:3000/ in your browser to see the portfolio.
If your project requires API keys or specific environment configs, create a .env.local file in the root directory. Example:
NEXT_PUBLIC_API_KEY=your_api_key_here
Check the README or source code for required variables.
To build the app for production:
npm run buildThen, to start the production server:
npm startIf the repo includes tests:
npm testYou should now have the portfolio running locally. Next, head over to [Customization Guide](Customization-Guide) to personalize your portfolio.