update readme
This commit is contained in:
22
README.md
22
README.md
@@ -1,4 +1,4 @@
|
|||||||
# 🚀 Project Setup Guide
|
# 🚀 Robin Network Server Setup
|
||||||
|
|
||||||
Follow these steps to run the project locally.
|
Follow these steps to run the project locally.
|
||||||
|
|
||||||
@@ -63,7 +63,25 @@ npm run migration:run
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 5️⃣ Start the Application
|
## 5️⃣ Create Admin User Manually
|
||||||
|
|
||||||
|
After migrations are completed, create an admin user manually in PostgreSQL.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```sql
|
||||||
|
INSERT INTO users (id, username, email, role)
|
||||||
|
VALUES (
|
||||||
|
'a random uuid',
|
||||||
|
'your_username',
|
||||||
|
'your_email@example.com',
|
||||||
|
'admin'
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6️⃣ Start the Application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
|||||||
Reference in New Issue
Block a user