bc57729538
added python-version variable
2023-05-22 15:44:17 +03:00
2bf156a25b
Merge branch 'master' of bitbucket.org:ronnyabraham/fabric
2023-05-18 15:41:06 +03:00
ec4730a7fd
updated configuration.backup so it has a better description
2023-05-18 15:40:51 +03:00
b4954662d5
got rid of some dead code
2022-09-12 14:00:05 +03:00
dc564de0c1
fixed docker-compose so it's now 'docker compose'
2022-09-04 00:24:18 +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
d4b8859d91
some cleaning up of code in utils
2022-05-09 14:32:42 +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
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
9106127a16
removed database.init from deploy.bootstrap b/c the database was already getting initialized
2022-05-08 12:41:56 +03:00
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