Files
TasGrid/README.md
T
2026-01-31 11:32:31 -06:00

51 lines
1.5 KiB
Markdown

# 🚀 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:
```bash
bun deploy
## Usage
```bash
$ npm install # or pnpm install or yarn install
```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
## Available Scripts
In the project directory, you can run:
### `npm run dev`
Runs the app in the development mode.<br>
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
### `npm run build`
Builds the app for production to the `dist` folder.<br>
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.<br>
Your app is ready to be deployed!
## Deployment
Learn more about deploying your application with the [documentations](https://vite.dev/guide/static-deploy.html)