My personal site.
Ensure you have node version manager (nvm) installed. If not, follow their instructions before moving on.
- Install the correct node version:
nvm install
- Use the correct node version:
nvm use
- Install dependencies:
npm install
- Start the server. Note, this defaults to port 3000 -- use the
PORT
environment variable to specify a different port.
npm start
- Navigate to localhost on your browser to view the site.
http://localhost:3000/
- To format files, run the following command:
npm run format