42 lines
693 B
Markdown
42 lines
693 B
Markdown
## Quick Start (Local Development)
|
|
|
|
### Prerequisites
|
|
|
|
Make sure you have:
|
|
|
|
- [.NET 9 SDK](https://dotnet.microsoft.com/en-us/download)
|
|
- [Docker](https://www.docker.com/)
|
|
- kind ```brew install kind```
|
|
- skaffold ```brew install skaffold```
|
|
- PostgreSQL
|
|
|
|
---
|
|
|
|
### Clone and set up
|
|
|
|
1. Clone the repository and navigate into it:
|
|
```bash
|
|
git clone https://github.com/khmer-eid/khmereid-backend.git
|
|
cd khmereid-backend
|
|
```
|
|
|
|
2. Bootstrap the environment:
|
|
```bash
|
|
make bootstrap
|
|
```
|
|
|
|
3. Set up environment variables:
|
|
```bash
|
|
cp .env.example .env
|
|
# update db config part your .env
|
|
```
|
|
|
|
4. Run database migrations:
|
|
```bash
|
|
make dev-migrate
|
|
```
|
|
|
|
5. Start the development server:
|
|
```bash
|
|
make dev
|
|
``` |