Commit graph

27 commits

Author SHA1 Message Date
9484150903 made database and deploy import relative 2023-07-07 16:38:52 +03:00
dc564de0c1 fixed docker-compose so it's now 'docker compose' 2022-09-04 00:24:18 +03:00
a58e04db5f fixed an issue with deploy.bootstrap, cuz docker was creating a fully functioning database using admin as the owner, and so it wasn't adding ronny. Instead of making yet another script I decided to just drop the datbase, using the database.drop_db which only gets rid of the datbase and not any users, and then initialize it from there 2022-05-08 17:01:20 +03:00
9106127a16 removed database.init from deploy.bootstrap b/c the database was already getting initialized 2022-05-08 12:41:56 +03:00
Ronny Abraham
381c8a0568 add edit for layout 2019-06-02 22:33:41 +03:00
Ronny Abraham
926a126fb8 add edit for meta configuration files 2019-06-02 22:31:41 +03:00
Ronny Abraham
880ce718e7 there was a bug where any build/* dir was being ignored, even build/* in the static apps, so I set it to /usr/etc/*/build/* 2019-04-11 17:24:50 +03:00
Ronny Abraham
b9d252a1fc modified import statements in deploy to resolve conflict that led to docker and database modules being considered a submodule of deploy 2018-10-24 02:42:27 +03:00
Ronny Abraham
4eba2cbf5a updating for python3 2018-10-18 12:45:07 +03:00
Ronny Abraham
15ffc7ac8c update deploy so packages are found 2018-10-18 06:33:23 +03:00
Ronny Abraham
a5677a96a0 updated print funcs 2018-10-17 23:08:51 +03:00
Ronny Abraham
a97698ae9a fixed print statements to be in python3 2018-10-17 22:48:54 +03:00
Ronny Abraham
954d67fa32 changed deploy.ssh from using sudo to local b/c sudo runs on the remote machine and I want ssh to be run off the local to connect to the remote 2018-10-10 13:33:46 +03:00
Ronny Abraham
ba9b5875f2 added debugging to deploy.ssh 2018-10-10 13:05:17 +03:00
Ronny Abraham
152b5658a9 fix bug in deployment where pip gets updated during initial
bootstrap,but then screws up the rest of the deployment including pip
install.  Break up the deployment into two parts.  NOTE: must find a way
to have deployment as one part alone
 Changes to be committed:
	modified:   modules/deploy.py
	modified:   modules/pip.py
2017-07-20 23:43:33 +03:00
Ronny Abraham
8f4c4dbc62 now creates the project during deploy.bootstrap
Changes to be committed:
	modified:   modules/deploy.py
2017-02-09 05:03:20 +02:00
Ronny Abraham
cd112af3a4 made changes to how pip gets deployed
Changes to be committed:
	modified:   modules/deploy.py
	modified:   modules/pip.py
2017-01-10 05:22:03 +02:00
Ronny Abraham
7a1205786f pip will upgrade to the latest version
Changes to be committed:
	modified:   modules/deploy.py
	modified:   modules/pip.py
2017-01-04 03:23:01 +02:00
Ronny Abraham
0f56f81bf3 fixed deploy.media initialize.environment call to get_config for the destination config, otherwise it overwrites the global env variable
modified:   modules/deploy.py
2016-11-10 22:38:26 +02:00
Ronny Abraham
9c032714c5 corrected problem with article items and the rectangle/triangle thing
modified:   modules/deploy.py
2016-11-10 16:03:15 +02:00
Ronny Abraham
1fce8f0c54 commented out unnecessary code
modified:   modules/deploy.py
2016-11-09 05:01:48 +02:00
Ronny Abraham
28cc86f227 sync media files from current branch to destination branch
modified:   modules/deploy.py
2016-11-08 19:36:25 +02:00
Ronny Abraham
b74a15c9cc got rid of some override code checking when doing debugging
Changes to be committed:
	modified:   ../../../modules/deploy.py
2016-09-21 17:12:11 +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
90137fd692 added media method to sync media files between branches
modified:   modules/deploy.py
2016-09-12 20:47:52 +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
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