This is the repository for Alcor's personal website! To run this locally, you can follow the following steps:
- Clone this repository.
- Install the npm dependencies in both the root folder and the
api
folder usingnpm i
. - Populate the
.env
file in the api folder with the following keys:
AWS_ACCESS_KEY_ID='Your AWS Access Key'
AWS_SECRET_ACCESS_KEY='The secret key for the S3 bucket that contains your images
BUCKET_NAME='The name of the S3 bucket that contains your images'
PORT=9000
NODE_ENV=development
REGION='The region your AWS bucket is located'
- Run
npm run dev
on bothpackage.json
andapi/package.json
. - Run
git update-index --skip-worktree
on thehidden.json
file so that changes to the hidden file doesn't get reflected in Git.