Sha256: fda97e7c882bc8fc66913cc0812676c3694e76ef539e73618a77e192f94d8289
Contents?: true
Size: 1.65 KB
Versions: 3
Compression:
Stored size: 1.65 KB
Contents
preface: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source. env: base: python_version: name: Python version value: 3 help: https://www.python.org/doc/versions/ POSTGRES_DB: name: Postgres databasconfigurarbe name value: postgres help: https://www.postgresql.org/docs/9.0/manage-ag-createdb.html POSTGRES_USER: name: Postgres user name value: postgres help: https://www.postgresql.org/docs/8.0/user-manag.html#DATABASE-USERS POSTGRES_PASSWORD: name: Postgres password value: password help: https://www.postgresql.org/docs/8.0/sql-alteruser.html app_name: name: Then name of your application or project value: unstoppable_django help: https://www.forbes.com/sites/allbusiness/2016/10/23/12-tips-for-naming-your-startup-business/ actions: - directory 'stage_one', '.', @env - run "sudo docker-compose run web django-admin startproject \"#{@env[:base][:app_name][:value]}\" . && sudo chown -R $USER:$USER ." - | run "sudo docker-compose run web django-admin startproject \"#{@env[:base][:app_name][:value]}\" . && sudo chown -R $USER:$USER ." - directory 'stage_two/settings.py', "./#{@env[:base][:app_name][:value]}/", @env - | run "sudo chown -R $USER:$USER . && sudo docker-compose build && sudo docker-compose up -d --force-recreate" - run "echo 'You may open your app at http://localhost:8000/'"
Version data entries
3 entries across 3 versions & 1 rubygems