Skip to content

Commit

Permalink
refactor: create app packages
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jan 10, 2024
1 parent 5a3a910 commit 6296267
Show file tree
Hide file tree
Showing 303 changed files with 29,850 additions and 10,557 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npm run build -w packages/app

lint:
runs-on: ubuntu-latest
Expand All @@ -33,4 +33,4 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm run lint
- run: npm run lint -w packages/app
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ Service Lens is an enterprise service management tool. It allows you to manage y

## Development

The projects has mutiple packages.

```
├── packages/app
├── packages/docs
├── packages/tools
```

The `packages/app` contains the servie lens app. The `docs` folder contains the documentation of the project and `tools` the shared tooling of the project.

Please create a `.env.local` file from the `.env.example` file. You need to [create a OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app) on GitHub to get the `GITHUB_ID` and `GITHUB_SECRET`.

```bash
Expand All @@ -25,13 +35,13 @@ npm i
docker compose up

# Run migrations
npm run migrate:up
npm run migrate:up -w @service-lens/app

# Run seeds
npm run db:seed
npm run db:seed -w @service-lens/app

# Run the server
npm run dev
npm run dev -w @service-lens/app
```

# License
Expand Down
Loading

0 comments on commit 6296267

Please sign in to comment.