Commit graph

206 commits

Author SHA1 Message Date
61e567d0bf fixed fabfile so it imports relatively 2023-07-07 16:21:47 +03:00
629ea20cb5 fixed an error in spacing 2023-07-07 16:21:02 +03:00
940ef17a7d updated django and initialize so it creates the relative path using layout.fabric.root/layout.fabric.home, got rid of paths.tools.fabric.full and replaces paths.tools.fabric.relative with just paths.tools.fabric 2023-07-07 15:47:02 +03:00
74290fcd59 updated the readme to begin to reflect the new concept of how to describe where this fabric implementation is located 2023-07-07 15:26:44 +03:00
7eb5c53fc7 got rid of placeholder for check_version def. also fixed up missing parenthesis by a print function 2023-07-07 15:25:00 +03:00
1c5599bd61 got rid of any code that references maintenance.loadconfiguration(fabric), this include the maintenance.check_version command which that load_configuration was meant to be used by 2023-07-07 15:23:22 +03:00
55e6c98075 updated docstrings that refer to fabric path by calling the head of the path 'fabric_local' 2023-07-07 15:16:11 +03:00
1267e91976 changed django configuration for settings that it inserts the relative path in layout that has this fabric implementation 2023-07-07 15:11:40 +03:00
0956487932 got rid of ooutdated django settings files in conf/django 2023-07-07 14:49:16 +03:00
e8a739338b got rid of django settings files in the templates/share/conf/gunicorn directory 2023-07-07 14:48:19 +03:00
868ca7984e updated django.coverage so it forces the user to specify which application it is using, also added docstrings to django.contrib 2023-07-07 09:11:44 +03:00
6e807d07a2 updated the foundation readme, and the postgis readme to further explain another solution to the postgis testing error when we aren't superuser 2023-07-04 03:16:08 +03:00
45ba1ac426 added methods to use coverage in both the initialize and django modules, including in django.edit, a helper test method to see if coverage is specified in the virtual env file for the branch, and commented out code in the virtual env. also django.coverage directly checks the configuration file coverage branch which will be there if coverage is specified in the virutalenv file for the branch 2023-07-04 03:13:23 +03:00
4f2750ebb4 not sure if the change to ssl should be here, but fuck it 2023-07-04 03:11:09 +03:00
0063989ba5 fixed bug in django.coverage that was caused because django.manage has to at least call on the test module when being used otherwise if I don't pass it anything it blows up 2023-07-04 02:17:35 +03:00
f740981bd5 modified coverage so it no longer uses help as an argument, and prefix and suffix in manage are empty strings instead of None bc that was giving an error 2023-07-03 23:33:39 +03:00
b92c025f75 updated coverage to look for the coverage.rc file as setup.cfg in share/coverage and the print out htmlcov in share/coverage 2023-07-03 23:19:11 +03:00
eb66e2a1bf added a method to automate python converage in the django module 2023-07-03 23:06:29 +03:00
7ee75bef12 fixed template paths problem in initialize. was previously putting the general templates directory in the main root, moved it to share/templates 2023-06-06 22:08:33 +03:00
85c4c018e1 updates in the nginx files 2023-05-22 18:08:10 +03:00
bc57729538 added python-version variable 2023-05-22 15:44:17 +03:00
3ac22718f9 fixed yaml loader bug 2023-05-18 17:46:51 +03:00
7b507e5874 changes to configuration files 2023-05-18 15:42:05 +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
b66c1fa18f added a TIMEOUT to the docker remote up, bc it was timing out 2022-09-02 01:16:43 +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
f8e3efc3da had to add services as top property b/c of changes in the docker-compose configuraiton standard 2022-05-06 18:11:02 +03:00
Barbados
331ea2afd2 readme.md edited online with Bitbucket - should have been git submodule add, not git add submodule 2022-05-02 13:20:48 +00: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
f64b235eae updated meta information in templates. 2020-08-10 23:06:41 +03:00
512328cb6f fixed over indented line 2020-08-10 22:46:30 +03:00
ca45c457f7 update deploy_meta and template for dev docker 2020-04-13 20:55:29 +03:00
12389c5d59 updated aws readme 2020-03-23 23:43:48 +02: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
f28833bb78 update aws readme with docker info 2020-03-02 22:33:44 +02:00
e51571951d updated readmes 2020-03-02 22:20:34 +02:00