You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's it. **No technical knowledge required.**`npm run setup` will:
53
+
54
+
1. Install all dependencies (root, frontend, wizard) in parallel
55
+
2. Generate a `.env` file with secure random secrets
56
+
3. Build the installation wizard UI
57
+
4. Start the backend and frontend dev server
58
+
5.**Auto-complete the installation wizard** — connects to MongoDB, sets up storage, skips optional services (Firebase / AI / SMTP), initializes the database, and creates an admin account
**Prerequisite:** MongoDB running locally on `mongodb://localhost:27017`. If you don't have it: `docker run -d -p 27017:27017 mongo:7` or download from [mongodb.com](https://www.mongodb.com/try/download/community).
78
+
79
+
### Available commands
80
+
81
+
| Command | What it does |
82
+
|---------|--------------|
83
+
|`npm run setup`| Full setup — install, configure, start, auto-complete wizard, open browser |
84
+
|`npm run dev`| Fast restart — skips install, just starts the services |
85
+
|`npm run setup:reset`| Wipe `node_modules` and reinstall everything |
86
+
|`npm run setup -- --manual`| Skip auto-setup — open the interactive wizard instead |
87
+
|`npm run setup -- --no-open`| Start without auto-opening a browser |
88
+
89
+
### Custom admin credentials
90
+
91
+
```bash
92
+
SETUP_ADMIN_EMAIL=you@example.com SETUP_ADMIN_PASSWORD=secret npm run setup
93
+
```
94
+
95
+
Other env-var overrides: `SETUP_ADMIN_FIRST`, `SETUP_ADMIN_LAST`, `SETUP_COMPANY`, `SETUP_PHONE`, `SETUP_COUNTRY`, `SETUP_CITY`, `SETUP_STATE`.
96
+
97
+
> **Manual setup still works.** Everything above is an additive convenience layer. All existing scripts (`npm start`, `npm run nodemon`, `npm run basic-install`, etc.) and the original interactive wizard are unchanged. If `npm run setup` ever fails it falls back automatically to the wizard UI so you can finish manually.
98
+
99
+
---
100
+
44
101
## What is AlianHub?
45
102
46
103
**AlianHub** is a full-stack, open-source project management system designed for teams that require flexibility, transparency, and ownership over their workflows.
0 commit comments