Commit graph

81 commits

Author SHA1 Message Date
Ronny Abraham
4a2cdf9f16 update pip for choosing which python 2019-02-06 23:22:36 +02:00
Ronny Abraham
2dffeaa1b9 fixed the startapp and manage so that startapp does not create a directory (leads to an error) and instead added arg to manage to specify working directory where the manage command would be run in 2018-11-09 11:27:28 +02:00
Ronny Abraham
e270402ac9 updated fabric allowed hosts 2018-11-09 10:16:13 +02:00
Ronny Abraham
8dab351ce6 add logging 2018-11-01 01:34:30 +02:00
Ronny Abraham
257de6483d got rid of comments in supervisor, updated edit method in nginx 2018-10-25 20:45:11 +03:00
Ronny Abraham
a3fcded489 add logs to edit 2018-10-25 20:37:36 +03:00
Ronny Abraham
ebb0e6fdbe updated edit to use log files 2018-10-25 20:37:15 +03:00
Ronny Abraham
17468643b6 modify import statements 2018-10-25 20:36:53 +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
a98f1635f4 update so that mkvirtualenv will install python3 2018-10-18 06:33:10 +03: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
d75e93f235 fixed print statements 2018-10-17 22:52:00 +03:00
Ronny Abraham
a97698ae9a fixed print statements to be in python3 2018-10-17 22:48:54 +03:00
Ronny Abraham
33b11f3df8 added help message to django.generate 2018-10-16 03:42:26 +03:00
Ronny Abraham
b93ea8e259 fixed some print statement to be python3 compatible 2018-10-16 03:14:10 +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
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
0fd0bbe725 added edit project configuration files capability 2018-10-10 13:06:19 +03:00
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
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