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

setup script #7

Open
7 of 13 tasks
ashwin31 opened this issue Mar 2, 2017 · 0 comments
Open
7 of 13 tasks

setup script #7

ashwin31 opened this issue Mar 2, 2017 · 0 comments

Comments

@ashwin31
Copy link
Member

ashwin31 commented Mar 2, 2017

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant