-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update Dockerfile for Aptible deployment (#48)
* docs: clarifications and link updates
- Loading branch information
1 parent
ea111d9
commit a25714d
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,43 @@ | ||
# ![](https://www.aptible.com/static/aptible-logo-dark-f7de71beb81b1638c34f88d100804d1b.png) | ||
# ![](https://framerusercontent.com/images/zPgE6unsAGcnam377HJMPuSoEho.svg) | ||
|
||
## deploy-demo-app | ||
|
||
This application is intended to facilitate learning the features of the Aptible Deploy platform, without | ||
needing to deploy _your_ application. | ||
|
||
![](https://github.com/aptible/deploy-demo-app/blob/master/screenshots/demo.png) | ||
![](https://github.com/aptible/deploy-demo-app/blob/main/screenshots/demo.png) | ||
|
||
There are two ways you can use this application (in sections below): Guided Experience (1) and Quickstart (2) | ||
|
||
### Guided experience (1) | ||
|
||
For new users of the Aptible Deploy platform, you can deploy this application following step-by-step | ||
instructions found [here](https://www.aptible.com/documentation/deploy/tutorials/deploy-demo-app.html). | ||
instructions found [here](https://www.aptible.com/docs/getting-started/deploy-starter-template/python-flask). | ||
|
||
This will help you deploy the app, and learn to configure additional features of the Aptible Deploy platform | ||
in a guided manner. This app even features a checklist that follows the step-by-step guide, to confirm | ||
that you have performed each step properly! | ||
|
||
![](https://github.com/aptible/deploy-demo-app/blob/master/screenshots/checklist.png) | ||
![](https://github.com/aptible/deploy-demo-app/blob/main/screenshots/checklist.png) | ||
|
||
|
||
### Quick start (2) | ||
|
||
For users who are familiar with Deploy, and simply need a web application to experiment with, these | ||
are the minimal steps needed to run this application. | ||
|
||
* Create an application: `aptible apps:create $HANDLE` | ||
* Create an application | ||
* via the [Aptible Dashboard](https://app.aptible.com/apps), or | ||
* via the [Aptible CLI](https://www.aptible.com/docs/reference/aptible-cli/cli-commands/cli-apps-create): `aptible apps:create $HANDLE` | ||
* Deploy the App - CHOOSE ONE: | ||
* [Direct Docker Deploy](https://www.aptible.com/documentation/deploy/reference/apps/image/direct-docker-image-deploy.html) : `aptible deploy --app $HANDLE --docker-image aptible/deploy-demo-app` | ||
* [Dockerfile Deploy](https://deploy-docs.aptible.com/docs/dockerfile-deploy-example): | ||
* [Dockerfile Deploy](https://deploy-docs.aptible.com/docs/dockerfile-deploy-example) | ||
|
||
```shell | ||
git clone [email protected]:aptible/deploy-demo-app.git | ||
cd deploy-demo-app | ||
git remote add aptible [email protected]:$ENVIRONMENT/$HANDLE.git | ||
git push aptible master | ||
git push aptible main | ||
``` | ||
|
||
* Set the configuration for your database, force HTTPS only, and increase the scale: | ||
|
@@ -53,7 +55,7 @@ aptible config:set \ | |
|
||
## Copyright | ||
|
||
Copyright (c) 2022 [Aptible](https://www.aptible.com). All rights reserved. | ||
Copyright (c) 2024 [Aptible](https://www.aptible.com). All rights reserved. | ||
|
||
[<img src="https://avatars2.githubusercontent.com/u/1580788?v=4&s=60" />](https://github.com/UserNotFound) | ||
|