You can check out the deployed Sapper app at https://blog.shriji.xyz/
Note: Following these steps will result in charges for the use of DigitalOcean services
- You need a DigitalOcean account. If you don't already have one, you can sign up at https://cloud.digitalocean.com/registrations/new
Fork/clone this repo and create a new .env
file with variables in the provided .envsample
.
npm install
#yarn install
#develop like any other Sapper app
Issues and PRs are welcome :)
Click this button to deploy the app to the DigitalOcean App Platform.
Note: Once you begin to deploy there is a step where you need to supply your environment variables check .envsample
for the format
As long as you left the default Autodeploy option enabled when you first launched this app, you can now make code changes and see them automatically reflected in your live application. During these automatic deployments, your application will never pause or stop serving request because the App Platform offers zero-downtime deployments.
You can learn more about the App Platform and how to manage and update your application at https://www.digitalocean.com/docs/apps/.
When you no longer need this sample application running live, you can delete it by following these steps:
- Visit the Apps control panel at https://cloud.digitalocean.com/apps
- Navigate to the sample-nuxtjs app
- Choose "Settings"->"Destroy"
This will delete the app and destroy any underlying DigitalOcean resources
Note: If you don't delete your app, charges for the use of DigitalOcean services will continue to accrue.