-
Notifications
You must be signed in to change notification settings - Fork 0
Website Deployment
O edited this page Dec 23, 2025
·
1 revision
-
Run the deployment script for the first time (it will create a configuration file):
./deploy_website.sh
-
Edit the configuration file
.hostinger_configwith your Hostinger credentials:nano .hostinger_config
-
Run the deployment script again:
./deploy_website.sh
- Log in to your Hostinger hPanel
- Go to Files β FTP Accounts
- Find your FTP account details:
-
FTP Host (e.g.,
ftp.yourdomain.comor IP address) - FTP Username
- FTP Password
-
FTP Host (e.g.,
Edit .hostinger_config with your settings:
# Connection method: ftp, sftp, or ssh
DEPLOY_METHOD="sftp" # Recommended: more secure than ftp
# Hostinger server details
HOSTINGER_HOST="ftp.yourdomain.com" # Your FTP hostname
HOSTINGER_USER="your_ftp_username"
HOSTINGER_PASS="your_ftp_password"
# Remote directory (usually public_html for main domain)
REMOTE_DIR="/public_html"
# Domain name (for display purposes)
DOMAIN="o.international"- Most secure
- Uses SSH encryption
- Requires
rsyncorsftptool
- Faster but less secure
- Requires
lftptool
- Direct SSH/SCP upload
- Most flexible
- Requires SSH access enabled
The script deploys:
-
o_website_prototype.htmlβindex.html(main website) -
dist/folder βdist/(logos and images)
- Check your FTP credentials in Hostinger hPanel
- Ensure FTP/SFTP access is enabled for your account
- Verify the remote directory path (
/public_htmlis typical)
-
macOS: Install via Homebrew:
brew install lftp rsync sshpass -
Linux: Install via package manager:
- Ubuntu/Debian:
sudo apt-get install lftp rsync sshpass - CentOS/RHEL:
sudo yum install lftp rsync sshpass
- Ubuntu/Debian:
- Clear your browser cache
- Check file permissions on Hostinger (should be 644 for files, 755 for directories)
- Verify the remote directory path is correct
If you prefer to upload manually:
- Log in to Hostinger File Manager (hPanel β Files β File Manager)
- Navigate to
public_html/ - Upload
o_website_prototype.htmland rename it toindex.html - Upload the entire
dist/folder
.hostinger_config to your .gitignore to avoid committing credentials:
echo ".hostinger_config" >> .gitignoreΒ© O International
A Nonprofit Association Focused on the Creation of a Water Price-Based Stable Coin
Association de Loi 1901 β France NumΓ©ro de Siret (French SIREN): 924 014 467 00014