Commit graph

32 commits

Author SHA1 Message Date
ce6df87b85 updated files to use 'core' as main django app 2023-10-11 14:53:54 +03:00
940ef17a7d updated django and initialize so it creates the relative path using layout.fabric.root/layout.fabric.home, got rid of paths.tools.fabric.full and replaces paths.tools.fabric.relative with just paths.tools.fabric 2023-07-07 15:47:02 +03:00
1c5599bd61 got rid of any code that references maintenance.loadconfiguration(fabric), this include the maintenance.check_version command which that load_configuration was meant to be used by 2023-07-07 15:23:22 +03:00
1267e91976 changed django configuration for settings that it inserts the relative path in layout that has this fabric implementation 2023-07-07 15:11:40 +03:00
45ba1ac426 added methods to use coverage in both the initialize and django modules, including in django.edit, a helper test method to see if coverage is specified in the virtual env file for the branch, and commented out code in the virtual env. also django.coverage directly checks the configuration file coverage branch which will be there if coverage is specified in the virutalenv file for the branch 2023-07-04 03:13:23 +03:00
7ee75bef12 fixed template paths problem in initialize. was previously putting the general templates directory in the main root, moved it to share/templates 2023-06-06 22:08:33 +03:00
bc57729538 added python-version variable 2023-05-22 15:44:17 +03:00
dbc60c1cdc making it possible to add volumes to the docker section of the project file 2022-09-01 22:24:49 +03:00
8e0afa1133 had to reset allowed hosts to a type list, bc when it gets generated into the django settings file as a type set, it cannot be read by the django library 2022-05-08 16:50:21 +03:00
2f71995f39 changed django.allowed_hosts to type set from type list, bc I found that names were being duplicated in the allowedhosts, so I'm side stepping that by using set 2022-05-08 16:43:39 +03:00
cfa2b79788 fixed problem with docker ip when running on local machine, just give it localhost 2022-05-08 12:28:19 +03:00
512328cb6f fixed over indented line 2020-08-10 22:46:30 +03:00
Ronny Abraham
0d68ef122d blanketed out annoying debug statements, added code to allow for a custom nginx host name 2019-08-07 04:18:59 +03:00
Ronny Abraham
a0ac1eefa9 add info for ssl 2019-06-30 22:42:29 +03:00
Ronny Abraham
0e69a5d65a add machine name to docker 2019-06-02 15:07:45 +03:00
Ronny Abraham
b961dad932 updated generate so it creates a generated local file that is imported by the normal local file 2019-02-12 01:21:05 +02:00
Ronny Abraham
e270402ac9 updated fabric allowed hosts 2018-11-09 10:16:13 +02:00
Ronny Abraham
a5677a96a0 updated print funcs 2018-10-17 23:08:51 +03:00
Ronny Abraham
dc02488e8b fix import statements 2018-10-17 22:52:15 +03:00
Ronny Abraham
a97698ae9a fixed print statements to be in python3 2018-10-17 22:48:54 +03:00
Ronny Abraham
d9e5f5edd1 added code to check if the allowed_hosts param was set in the configuration file, if it was, then add the extra hosts to allowed hosts 2018-10-16 03:03:20 +03:00
Ronny Abraham
9c8f83cc38 go back to original settings for config/nginx/static
modified:   modules/initialize.py
2017-08-29 02:32:23 +03:00
Ronny Abraham
200924b6d8 add check to see if the 'socket' or 'port' options have been set in the
configuration file before trying to load it in initilaize.py
2017-08-29 00:07:47 +03:00
Ronny Abraham
6277075e18 added some options for nginx
Changes to be committed:
	modified:   modules/initialize.py
	modified:   modules/nginx.py
	new file:   share/templates/readmes/paramiko.md
2017-08-08 17:26:35 +03:00
Ronny Abraham
34e887e890 changed the way docker is initialized, the container name now defaults to the main docker name for the services in the <branch>.yml file
modified:   initialize.py
2016-11-16 12:52:39 +02:00
Ronny Abraham
0ad9e5b772 Merge branch 'majorchange' of bitbucket.org:ronnyabraham/fabric into majorchange 2016-09-21 16:18:34 +03:00
Ronny Abraham
9cb2341aaa added deploy.ssh method, also got rid of override
Changes to be committed:
	modified:   modules/deploy.py
	modified:   modules/initialize.py
2016-09-21 16:11:27 +03:00
Ronny Abraham
f411c576cf changed virtualenv.requirments variable to a dict that holds local, remote, filename and full ppath filepath for each requirements file
modified:   modules/initialize.py
2016-09-21 15:24:01 +03:00
Ronny Abraham
e91f62b794 major changes to layout
modified:   modules/conf_setup.py
	modified:   modules/docker.py
	modified:   modules/initialize.py
	modified:   modules/maintenance.py
	modified:   share/templates/conf/django/files/settings.jinja2
	modified:   share/templates/conf/gunicorn/files/settings.jinja2
	modified:   share/templates/meta/development.yml
	modified:   share/templates/meta/layout.yml
2016-09-15 22:15:57 +03:00
Ronny Abraham
0728560972 major tweaks to getting this to work
deleted:    fabfile.pyc
	modified:   modules/deploy.py
	modified:   modules/initialize.py
	modified:   modules/nginx.py
	new file:   resources/ronnyabraham.pem
2016-09-07 21:35:45 +03:00
Ronny Abraham
cf2cc845bc changes to fabric
modified:   modules/database.py
	modified:   modules/django.py
	modified:   modules/initialize.py
	modified:   modules/utils.py
2016-09-06 18:53:13 +03:00
Ronny Abraham
2bef12902e new file: api.py
new file:   api.pyc
	new file:   conf/fabric.yml
	new file:   fabfile.py
	new file:   fabfile.pyc
	new file:   modules/__init__.py
	new file:   modules/__init__.pyc
	new file:   modules/conf_setup.py
	new file:   modules/conf_setup.pyc
	new file:   modules/configuration_setup.py
	new file:   modules/database.py
	new file:   modules/database.pyc
	new file:   modules/deploy.py
	new file:   modules/deploy.pyc
	new file:   modules/django.py
	new file:   modules/django.pyc
	new file:   modules/docker.py
	new file:   modules/docker.pyc
	new file:   modules/initialize.py
	new file:   modules/initialize.pyc
	new file:   modules/maintenance.py
	new file:   modules/maintenance.pyc
	new file:   modules/nginx.py
	new file:   modules/nginx.pyc
	new file:   modules/pip.py
	new file:   modules/pip.pyc
	new file:   modules/setup.pyc
	new file:   modules/supervisor.py
	new file:   modules/supervisor.pyc
	new file:   modules/testing/__init__.py
	new file:   modules/testing/__init__.pyc
	new file:   modules/testing/configuration_setup.py
	new file:   modules/testing/maintenance.pyc
	new file:   modules/utils.py
	new file:   modules/utils.pyc
	new file:   templates/conf/database/files/db.drop_all.sql.jinja2
	new file:   templates/conf/database/files/db.drop_db.sql.jinja2
	new file:   templates/conf/database/files/db.init.sql.jinja2
	new file:   templates/conf/database/files/db.re_init.sql.jinja2
	new file:   templates/conf/django/files/gunicorn.jinja2
	new file:   templates/conf/django/files/gunicorn.unixsocket.jinja2
	new file:   templates/conf/django/files/local.jinja2
	new file:   templates/conf/django/files/settings.jinja2
	new file:   templates/conf/django/files/settings18.jinja2
	new file:   templates/conf/django/files/wsgi.jinja2
	new file:   templates/conf/django/files/wsgi.py
	new file:   templates/conf/docker/files/database.jinja2
	new file:   templates/conf/gunicorn/files/gunicorn.jinja2
	new file:   templates/conf/gunicorn/files/gunicorn.unixsocket.jinja2
	new file:   templates/conf/gunicorn/files/local.jinja2
	new file:   templates/conf/gunicorn/files/settings.jinja2
	new file:   templates/conf/gunicorn/files/settings18.jinja2
	new file:   templates/conf/gunicorn/files/wsgi.jinja2
	new file:   templates/conf/gunicorn/files/wsgi.py
	new file:   templates/conf/nginx/files/default.conf.jinja2
	new file:   templates/conf/nginx/files/unixsocket.jinja2
	new file:   templates/conf/supervisor/files/conf_old
	new file:   templates/conf/supervisor/files/supervisor.jinja2
	new file:   templates/meta/development.yml
	new file:   templates/meta/layout.yml
	new file:   templates/meta/staging.yml
	new file:   templates/readmes/aws.md
	new file:   templates/readmes/gandi.md
	new file:   templates/readmes/reset_migrations.md
	new file:   templates/readmes/setup_gandi.md
	new file:   templates/readmes/translations.md
	new file:   templates/readmes/update_images.md
2016-09-06 14:43:49 +03:00