Document deployment process and repository details
Add deployment verification, redeploy steps, and repository clone/push instructions to README. Co-Authored-By: Oz <oz-agent@warp.dev>
This commit is contained in:
36
README.md
36
README.md
@ -62,6 +62,42 @@ The portal will be available at:
|
||||
- `http://localhost:8081` (default)
|
||||
- or `http://localhost:<PORTAL_PORT>` if you changed `PORTAL_PORT` in `.env`
|
||||
|
||||
## Deployment Process
|
||||
1. Ensure configuration is set in `.env` (especially Firebase values and optional `PORTAL_PORT`).
|
||||
2. Build and start the application:
|
||||
```bash
|
||||
./install_portal.sh
|
||||
```
|
||||
3. Verify deployment status:
|
||||
```bash
|
||||
docker ps --filter name=flutter_ecommerce_portal_web
|
||||
curl -I http://localhost:8081
|
||||
```
|
||||
4. Open the portal in a browser at `http://localhost:8081`.
|
||||
|
||||
### Redeploy After Changes
|
||||
```bash
|
||||
./install_portal.sh
|
||||
```
|
||||
This command rebuilds the Flutter web image and recreates the container.
|
||||
|
||||
## Repository Details
|
||||
- Repository (web): `https://github.com/quantumrag/flutter_ecommerce_portal`
|
||||
- Repository (SSH): `git@github.com:quantumrag/flutter_ecommerce_portal.git`
|
||||
- Default branch: `master`
|
||||
|
||||
### Clone and Push
|
||||
Clone:
|
||||
```bash
|
||||
git clone git@github.com:quantumrag/flutter_ecommerce_portal.git
|
||||
```
|
||||
Push local changes:
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "<your message>"
|
||||
git push origin master
|
||||
```
|
||||
|
||||
## Uninstall / Cleanup
|
||||
Interactive cleanup:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user