To run the Project in your local machine, follow these steps: Clone the repository to your machine and install the needed dependencies. We use bun
to manage our packages, so please make sure it is installed in your local machine.
git clone https://github.com/Yuefii/portfolio.git
cd portfolio
bun install
To store secret configurations and environment variables, you need to create a .env
file based on the env.example
file and adjust the values of the environment variables according to your project needs.
cp env.example .env
Start up a docker container running Postgresql. A docker-compose
file is provided to make this easier.
# inside docker/compose
docker compose up -d
# or with cmake
make db_up
Start up a firebase-emulator running firebase storage.
# initialize firebase
firebase init
firebase emulator:start
# for development
bun dev
# for production
bun build
bun start