Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

setup script #7

@ashwin31

Description

@ashwin31

script to setup docker-box on first installation
for os: ubuntu-16.04-x64

  • update os
  • install docker if its not available
  • enable docker api mode
  • add firewall rule to disallow anyone to access docker api from outside
  • install postgres latest
  • install nginx
  • install and configure uswgi
  • install all necessary packages for django
  • create user and configure it in django project
  • create admin user and give the password to login
  • project should run on some port like 23949
  • it will be better if it can be configured on a domain by taking input from user as part of installation process. then, we can run it with ssl provided by certbot.
  • generate dynamic django secret key. store and serve it using ENV. This makes sure not to mess up when we update the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions