Skip to content

zach-j-dev/test-django-template

Repository files navigation

Architect Logo

A dynamic microservices framework for building, connecting, and deploying cloud-native applications.


Running Django on Architect

This example will show you the use-case for using Python on Architect leveraging the Django tutorial application – Polls. In this example, we've written a component spec (the architect.yml file) that defines a component to run a Python based web application.

Learn more about the architect.yml file

Running locally

Architect component specs are declarative, so it can be run locally or remotely with a single deploy command:

# Clone the repository and navigate to this directory
$ git clone https://github.com/architect-team/architect-cli.git
$ cd ./architect-cli/examples/django

# Register the component to the local registry
$ architect link .

# Deploy using the dev command
$ architect dev examples/django -e local

Once the deploy has completed, you can reach your new service by going to http://web.arc.localhost/.

Default values of username and password have been set for the /admin page. To access or change the default admin user credentials, modify the parameters on the top of the architect.yml file.

parameters:
  django_admin_email:
    default: [email protected]
  django_admin_username:
    default: username
  django_admin_password:
    default: password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published