The spec file and deployment instructions for the RSS Reader App.
To deploy the RSS Reader application to App Platform in its entirety follow these steps:
- Download doctl and install it following the instructions in the README.
- Create an DigitalOcean API token and have it ready to paste
- Run
doctl auth init -t YOUR_TOKEN
to authenticate yourself. - Clone this repo.
- Search for every instance of CHANGE_ME in
spec.yaml
and fill it in with the appropriate repsone. Currently it's just if your own custom domain and theDJANGO_ALLOWED_HOSTS
which should also just be your domain. - Run the command
doctl apps create --spec spec.yaml
to deploy your app. - Once the app is up and running, go to the console tab under the API component
and run the following commands
python manage.py migrate
- This does the initial database setuppython manage.py createsuperuser
- Follow this prompt to create a superuser to authenticate with
- If you decided to use a custom domain, go to the Settings tab and follow
the instructions under
domain
to setup your DNS record properly. - Wait a while for the DNS to propogate and the SSL certificate to become valid
- Go to your domain, add some RSS feeds and enjoy your app!