Python/Django Quickstart
Python/Django Quickstart
by Shark Labs

Version 1.1

OS Ubuntu 18.04

Description

Everything you need to get started developing a Python/Django application with sample code on a DigitalOcean Droplet

Software Included

Getting started after deploying Python/Django Quickstart

This 1-click application is ideal for learning and exploring development with Python/Django on DigitalOcean but isn’t configured for production use.

To start this Quickstart, you need to create a new Droplet using this Marketplace listing and navigate to its public ipv4 address to follow the Getting Started instructions.

To make modifications to the sample application code, you will need to SSH to your new Droplet with root user (or with existing SSH keys) using the auto-generated password (sent via email).

API Creation

In addition to creating a Droplet from the Python/Django Quickstart 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB Python/Django Quickstart Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"sharklabs-pythondjangoquic-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

More DigitalOcean Links

DigitalOcean Community

Developers supporting developers

Ask a Question

Ask anything related to system administration, programming, devops, open source, or the DigitalOcean platform.

List your 1-Click App in the DigitalOcean Marketplace

Partner with us to build traction for your open source project or software company