Skip to content

Commit a2e824d

Browse files
update readme instructions (#91)
Co-authored-by: Marcus Hof <[email protected]>
1 parent 7f235d5 commit a2e824d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,31 @@ Welcome to your new TanStack app!
22

33
# Getting Started
44

5-
To run this application:
5+
First, request the `.env` and `historicalImporter.ts` files from a friend and put them in the project root.
6+
7+
Download and activate services:
68

79
```bash
810
flox activate
911
flox services start
1012
npx prisma db push
11-
pnpm import-historical // You'll need to place the historicalImporter.ts into the root folder
13+
pnpm import-historical
1214
pnpm install
1315
pnpm dev
1416
```
1517

18+
If this is the first time you're running the app, you'll need to sync from Deel and import historical data. The CURL request requires a bearer token - get that from a friend as well.
19+
20+
```bash
21+
curl --request POST \
22+
--url 'http://localhost:3000/syncDeelEmployees?=' \
23+
--header 'Authorization: Bearer {{token}}' \
24+
--header 'User-Agent: insomnia/11.6.1'
25+
pnpm import-historical
26+
```
27+
28+
After starting the application, log in with your posthog google account.
29+
1630
# Building For Production
1731

1832
To build this application for production:

0 commit comments

Comments
 (0)