Basic Configuration

Configurations are going to depend on the product you purchased. But you can use this section to get started with the basics.

Each of our products include a range of configuration options. We encourage you to look at the specific guide for your product in order to understand your particular options, but the below will generally apply to all of our products.

Basic Environment Variables

In general, the application environment variable files (e.g. dev.env and prod.env) are where you will need to make the majority of your pre-deployment configuration changes. That is, these variables need to be set before you try to build and run your application. And whilst all products have their own specific variables, the below can be used as a initial configuration guide for most:

  • Generate a new Django secret key from: https://djecrety.ir/‚Äč

  • Set DJANGO_SECRET_KEY value in dev.env and prod.env to newly obtained secret key

  • Set DJANGO_ADMIN_EMAIL to desired email in dev.env and prod.env

  • Set DJANGO_ALLOWED_HOSTS to desired host address(es) in prod.env

  • Set DATABASE_PASSWORD in prod.env

Post Deployment Configuration

The first and most important variable you should change after you have built and run your application is the admin password. By default we create an admin account for your application as part of the build process, and so you will want to log in and change this password immediately.

You can access Django's admin view by browsing to the /admin/ url. After you have logged into the application using the default password provided within the README.md file. You will find the option to change your admin password in the top right hand corner.

Beyond that, your product will include a series of site configuration settings via the 'Site Configuration' admin view. Here you can set options related to your site name, address, social links, settings for integrations (e.g. Disqus) etc.