This is the New Portfolio Website of Robert Julian Kratz (rjks.us)
Clone the repository
git clone https://github.com/robert-kratz/robertkratz-web.git
cd web-app
Use the package manager npm to install the dependencies.
npm install
Copy the .env.example file to .env and fill in the variables
cp .env.example .env
Please fill in the variables in the .env file
nano .env
And fill in the following variables: (Only required if you want to use the contact form)
RECAPTCHA_SITE_KEY=YOUR_RECAPTCHA_SITE_KEY
RECAPTCHA_SECRET_KEY=YOUR_RECAPTCHA_SECRET_KEY
SENDGRID_API_KEY=YOUR_SENDGRID_API_KEY
Make Sure the EMAIL_TEMPLATES
in next.config.js
is set to the correct SendGrid Template ID's
npm run build
And start the application
npm run start
Alternatively you can run the application in production mode with pm2
on port 8000 with the following command:
pm2 start npm --name "rjks-website-new" -- start -- -p 8000
Thank you for using my Portfolio Website!