Commit graph

111 commits

Author SHA1 Message Date
Ronny Abraham
35cdb1fe13 added the ability to specify what machine we want to edit files on (probably should be removed) 2018-10-10 13:06:02 +03:00
Ronny Abraham
ba9b5875f2 added debugging to deploy.ssh 2018-10-10 13:05:17 +03:00
Ronny Abraham
18871417e1 Merge branch 'master' of bitbucket.org:ronnyabraham/fabric 2017-11-09 00:34:05 +02:00
Ronny Abraham
2237dd4856 added help message for django.startapp 2017-11-09 00:33:30 +02: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
efabadf786 Merge branch 'master' of bitbucket.org:ronnyabraham/fabric 2017-08-28 23:54:26 +03:00
Ronny Abraham
2c19ba589b updated help message
modified:   modules/django.py
2017-08-28 23:53:26 +03:00
Ronny Abraham
64dea753cb Merge branch 'master' of bitbucket.org:ronnyabraham/fabric 2017-08-08 17:27:01 +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
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
4e561b8df3 some debugging code
Changes to be committed:
	modified:   modules/maintenance.py
2017-06-12 20:47:35 +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
a13a2c21cc pip will now update to latest version of pip when doing a major install
Changes to be committed:
	modified:   modules/pip.py
2017-01-03 20:26:32 +02:00
Ronny Abraham
cb0eff3c4e got rid of upload_gunicorn from supervisor.py since it is in django.generate:gunicorn
modified:   supervisor.py
2016-11-17 22:31:50 +02:00
Ronny Abraham
9d17a91995 got rid of debugging code
modified:   modules/supervisor.py
2016-11-16 13:14:07 +02:00
Ronny Abraham
84cfeb8072 added debug messages and debugging now doesn't make changes in start and stop
modified:   docker.py
2016-11-16 12:53:56 +02: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
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
b006e3d419 added ability to hide output for database.backup
modified:   modules/database.py
2016-11-10 22:37:11 +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
13fd4c962c switched def sync back, now it syncs from source branch to the current branch
modified:   modules/database.py
2016-11-08 19:42:47 +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
7d6c179f6a changed so sync now goes TO the destination branch, also changed variable name fro clarity
modified:   modules/database.py
2016-11-08 19:33:49 +02:00
Ronny Abraham
441f8b4be6 streamlined code in database.backup
Changes to be committed:
	modified:   modules/database.py
2016-09-23 00:18:23 +03: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
f86404d634 added some debugging code in generate_gunicorn
Changes to be committed:
	modified:   ../../../modules/django.py
2016-09-21 17:11:34 +03:00
Ronny Abraham
c6c062b333 modified: modules/django.py 2016-09-21 16:20:32 +03: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
328de1596b changed param in freeze to from default none to 'help'
modified:   modules/pip.py
2016-09-21 16:10:46 +03:00
Ronny Abraham
8a3a66a9fd created copyto method
modified:   modules/pip.py
2016-09-21 15:44:46 +03:00
Ronny Abraham
e4f80bf0ae addying copy method to copy over pip requirements files from one branch to another
modified:   modules/pip.py
2016-09-21 15:24:49 +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
408a36d5a5 created new method printerr
modified:   modules/utils.py
2016-09-21 15:23:28 +03:00
Ronny Abraham
595f1ba09d changed name of commandline method
modified:   modules/django.py
2016-09-20 18:41:18 +03:00
Ronny Abraham
a56eabbdd4 changed storage for meta config files to meta/project
modified:   modules/maintenance.py
2016-09-18 16:57:17 +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
d42f118ad6 got rid of unnecesary testing directory 2016-09-15 21:27:23 +03:00
Ronny Abraham
ab69f72aff fixed project.branch variable storage
modified:   modules/conf_setup.py
	modified:   share/templates/meta/staging.yml
2016-09-15 21:15:32 +03:00
Ronny Abraham
596b6e7da3 fixed conf_setup backup so it has proper values it was using ' and " too much
modified:   modules/conf_setup.py
	modified:   share/templates/meta/development.yml
	modified:   share/templates/meta/layout.yml
	modified:   share/templates/meta/staging.yml
2016-09-15 20:36:20 +03:00
Ronny Abraham
12c57354f7 changed directory that fabric.yml gets found
modified:   modules/maintenance.py
2016-09-15 20:28:07 +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
12ab59b33e modified: modules/conf_setup.py
modified:   templates/meta/staging.yml
2016-09-09 06:23:49 +03:00
Ronny Abraham
829b1d3cb0 got rid pyc file 2016-09-08 19:41:55 +03:00
Ronny Abraham
23da1736ee added some debug checking in gunicorn generate
modified:   modules/django.py
2016-09-07 22:03:10 +03:00
Ronny Abraham
f1a4da7553 added check_app method, and fixtures method from debates_eu
modified:   modules/django.py
2016-09-07 21:52:40 +03:00