feat: add payment tracking and manual payment submission to investment details and configure standalone deployment mode
This commit is contained in:
20
deploy.sh
Executable file
20
deploy.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build the project
|
||||
echo "Building project..."
|
||||
npm run build
|
||||
|
||||
# Create a deployment folder
|
||||
echo "Preparing deployment files..."
|
||||
mkdir -p deploy
|
||||
cp -r .next deploy/
|
||||
cp -r public deploy/
|
||||
cp server.js deploy/
|
||||
cp package.json deploy/
|
||||
cp next.config.ts deploy/
|
||||
|
||||
# Optional: Zip the files
|
||||
echo "Zipping deployment files..."
|
||||
cd deploy && zip -r ../deploy.zip . && cd ..
|
||||
|
||||
echo "Done! Upload 'deploy.zip' to your cPanel directory and follow the guide."
|
||||
Reference in New Issue
Block a user