1.5 KiB
1.5 KiB
🚀 TasGrid Server Management
This project uses PM2 (via Bun) to stay online 24/7. The app runs on port 4000 and is managed by the scripts in package.json.
🛠 Quick Commands
| Action | Command | Description |
|---|---|---|
| Check Status | bun status |
See if the site is online/how much memory it's using. |
| Update Site | bun deploy |
Pulls latest code, builds, and restarts the server. |
| Stop Server | bun stop |
Shuts down the site (use for maintenance). |
| View Logs | bun logs |
See real-time errors or console output (Ctrl+C to exit). |
🔄 Deployment Workflow
To push new changes live, simply run:
bun deploy
## Usage
```bash
$ npm install # or pnpm install or yarn install
Learn more on the Solid Website and come chat with us on our Discord
Available Scripts
In the project directory, you can run:
npm run dev
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
npm run build
Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Deployment
Learn more about deploying your application with the documentations