Scripts used to set up the lightsail instance
- Copy and paste this code when creating the Lighstail instance
⚠️ Must be run as root (launch scripts are automatically run as root, but if you're entering into a shell of a pre-existing instance, runsudo sufirst)
curl https://raw.githubusercontent.com/nativerank/automated-instance-setup/master/launch.sh | bash -s -- --site-url=www.DOMAIN.com- Copy and Paste this code and wait for the success message.
curl https://raw.githubusercontent.com/nativerank/automated-instance-setup/master/setup.sh | bash -s -- --password=DB_PASSWORD| option | description |
|---|---|
| --site-url=www.DOMAIN.com | |
| --dev-site=DEVSITE-SLUG | replace DEVSITE-SLUG with devsite slug to override the value from wp options |
| --skip-pagespeed | do not optimize pagespeed config file |
| --skip-redis | do not install redis-server |
- Only use dist.sh for production build
- For beta testing, either create a new branch or create a beta-VERSION.sh file in master branch
- Feel free to create scratch-VERSION.sh files