38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
SOLARBANK DEPLOYMENT COMMANDS
|
|
=============================
|
|
|
|
Server Details:
|
|
- IP: 172.104.237.108
|
|
- Username: root
|
|
- Password: 6eqWiHHX4bNTPg
|
|
|
|
STEP 1: Upload files to server (run this in your terminal)
|
|
----------------------------------------------------------
|
|
scp solarbank-deployment.tar.gz .env.prod.ip server-deploy-ip.sh docker-compose.prod.nossl.yml root@172.104.237.108:/tmp/
|
|
|
|
(Enter password when prompted: 6eqWiHHX4bNTPg)
|
|
|
|
|
|
STEP 2: Connect to server (run this after upload completes)
|
|
-----------------------------------------------------------
|
|
ssh root@172.104.237.108
|
|
|
|
(Enter password when prompted: 6eqWiHHX4bNTPg)
|
|
|
|
|
|
STEP 3: Deploy the application (run this after connecting to server)
|
|
--------------------------------------------------------------------
|
|
cd /tmp && chmod +x server-deploy-ip.sh && ./server-deploy-ip.sh
|
|
|
|
|
|
The deployment will take a few minutes. Once complete, your application will be available at:
|
|
|
|
- Frontend: http://172.104.237.108
|
|
- API: http://172.104.237.108/api
|
|
- API Docs: http://172.104.237.108/api/docs
|
|
|
|
Default login:
|
|
- Username: admin@solarbank.com
|
|
- Password: admin123
|
|
|
|
IMPORTANT: Change the default password after first login! |