-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
28 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,33 +1,10 @@ | ||
# Acorn for Django sample app - Vote App | ||
====== | ||
|
||
This is an Acorn for the sample Django Vote app following Django's Offical [Tutorial](https://docs.djangoproject.com/en/4.2/intro/tutorial01/).This sample Vote app lets people view polls and vote in them. An admin site that lets you add, change, and delete polls. | ||
|
||
## Deploy the Django App | ||
|
||
You can deploy the sample web app on the Acorn SaaS Platform with following simple steps. | ||
|
||
1. Login to the [Acorn SaaS Platform](https://beta.acorn.io/) using the Github Sign-In option with your Github user. | ||
2. Select the "Create Acorn" option. | ||
3. Choose the source for deploying your Acorns | ||
* Select "From Acorn Image" to deploy the sample Application | ||
* Provide a name such as `Django Sample Acorn` and keeping Project's default Region, type in the below Acorn image and choose Create | ||
```bash | ||
ghcr.io/infracloudio/django-acorn:v4.2.6-0 | ||
``` | ||
4. Now the sample App is provisioned on Acorn SaaS Platform and is available for 2hrs. Upgrade to pro account to keep it running longer. | ||
5. Once the Acorn is running, you can access it by clicking the Endpoint or the redirect link. | ||
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. | ||
|
||
## Acorn Django App Details | ||
|
||
The Acorn Dashboard is integrated with multiple features such as Events, Logs, Details and accessing the Shell of the Application. Details include the CPU, Memory, Network, Latency, Requests and Errors for the Application. | ||
|
||
Explore various available options by clicking the Menu option on your Acorn App. | ||
|
||
For more details on using the Acorn Dashboard, check this link - [https://beta-docs.acorn.io/getting-started#exploring-the-acorn-dashboard](https://beta-docs.acorn.io/getting-started#exploring-the-acorn-dashboard) | ||
This is an Acorn for the sample Django Vote app following Django's Offical [Tutorial](https://docs.djangoproject.com/en/4.2/intro/tutorial01/).This sample Vote app lets people view polls and vote in them. An admin site that lets you add, change, and delete polls. | ||
|
||
## What next? | ||
After deploying you can edit the Acorn Application or remove it if no longer needed. | ||
## Configure the Django App | ||
|
||
1. Click the Edit option to edit your Acorn's Image. Toggle the Advanced Options switch for additional edit options. | ||
2. Remove the Acorn by selecting the Remove option from your Acorn dashboard. | ||
Laravel uses mariadb as the database and it is been used as the [services](https://docs.acorn.io/reference/acornfile#services-consuming) . If you are using Advanace Options on Acorn Platform you can provide the `laraveldbname`. By default it will be named as `djangodb`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.