Commit graph

113 commits

Author SHA1 Message Date
286f149f08 fixed import statement so that maintenance is called from same dir as database 2022-05-08 12:39:08 +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
fe5c77a5bf added debugging to run, create - docker_service_name property passed to jinja file 2022-05-06 18:13:29 +03:00
2fd9a8eb64 fixed up some PEP warnings, and put a few debugging print statements into comments 2022-04-29 14:41:06 +03:00
259eb14238 fixed following error: [localhost] run: docker-machine ip default
[localhost] out: /usr/local/bin/virtualenvwrapper.sh: line 230: : command not found
[localhost] out: virtualenvwrapper.sh: There was a problem running the initialization hooks.
[localhost] out:
[localhost] out: If Python could not import the module virtualenvwrapper.hook_loader,
[localhost] out: check that virtualenvwrapper has been installed for
[localhost] out: VIRTUALENVWRAPPER_PYTHON= and that PATH is
[localhost] out: set properly.
[localhost] out: Error getting IP address: ssh command error:
[localhost] out: command : ip addr show
[localhost] out: err     : exit status 255
[localhost] out: output  :
[localhost] out:
2022-04-29 14:36:06 +03:00
15370c4a28 got rid of some unnecessary regex in the fixtures function 2020-08-31 20:16:33 +03:00
512328cb6f fixed over indented line 2020-08-10 22:46:30 +03:00
99893eafae set docker to use run for commands 2020-03-23 23:42:34 +02:00
7502ce06c4 no longer need the -no-site-packages flag 2020-03-23 23:42:14 +02:00
6bc06589ef update fixes 2020-03-02 19:30:42 +02:00
6b3d4be580 updated prompt_continue, so it now gives the option of either exiting on failure or returning a true/false value 2019-11-03 17:44:16 +02:00
39d6514eda fixed some import statements so they fucntion properly 2019-11-03 17:43:09 +02:00
a5fb86f5cc fixed the create_project command so it allows the opiton of overwriting the old backup (if exists) or stopping the process 2019-11-03 17:42:52 +02:00
0eaadc3fcf update merge 2019-10-31 20:01:10 +02: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
43fd9e4cd7 add backup to nginx.edit optiosn 2019-06-27 19:31:31 +03:00
Ronny Abraham
01c122ffcb update django manage so it has better info on debug 2019-06-21 14:53:12 +03:00
Ronny Abraham
05a8ca6b1c add edit to docker 2019-06-03 22:01:02 +03:00
Ronny Abraham
dd797c3a77 add generated to list of editable files 2019-06-02 22:52:21 +03:00
Ronny Abraham
8ae7324ea3 add debug for run_database_command to only print out the command 2019-06-02 22:52:07 +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
0e69a5d65a add machine name to docker 2019-06-02 15:07:45 +03:00
Ronny Abraham
35cfbcd4fd got rid of unnecessary server database name for admin 2019-04-17 11:14:13 +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
a380f55dba some changes to fixtures code 2019-03-28 14:35:54 +02: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
0211723fe9 add import for custom local settings 2019-02-11 23:50:30 +02:00
Ronny Abraham
16f43982a0 update django generate local settings os that it copies over internally generated values from the project files rather than directly connecting. this means ALL projects need to be updated wihenever project configuraiton settings are changed 2019-02-09 23:48:04 +02:00
Ronny Abraham
8cc2e9a101 update pip so it automatically tries to setup virtualenv with python3 2019-02-09 23:46:19 +02:00
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