Commit graph

  • 5c75151f2b updated database files so that user and database names are put in quotes, also fixed some problems with pip master ronny abraham 2025-04-23 20:12:29 +03:00
  • 82b8699533 updated readme ronny abraham 2025-04-22 16:58:17 +03:00
  • 7c5299d186 updates ronny abraham 2025-04-22 16:52:07 +03:00
  • 1820640e82 updated readmes with debug_toolbar.md ronny abraham 2024-08-25 20:44:48 +03:00
  • b02085e5f0 updated readmes for ycm ronny abraham 2024-08-25 20:13:46 +03:00
  • eeba5c5bae updated dockstrings for docker, got rid of TODO in django/coverage ronny abraham 2024-01-10 07:10:00 +02:00
  • e1fead6bee updated docsdtrings for pip and docker ronny abraham 2024-01-10 06:56:26 +02:00
  • e6e48f5b67 Merge remote-tracking branch 'origin/master' ronny abraham 2024-01-10 05:06:10 +02:00
  • 0847d1e93e removed docs submodule ronny abraham 2024-01-10 05:00:57 +02:00
  • 9c00c3b10e updated pip.install command ronny abraham 2024-01-10 04:59:07 +02:00
  • e1332b7d00 fixed docstring in utils ronny abraham 2024-01-10 04:57:35 +02:00
  • 3cd0f1a35d added an uninstall command as well as a check_package command ronny abraham 2024-01-10 04:57:26 +02:00
  • f281062060 updated all docstrings, moved some files around, fixed a TODO in the coverage task so now it will check if coverage exists ronny abraham 2024-01-10 04:56:59 +02:00
  • 76c1e80c1d updated django.coverage docstrings, and raised errors if the directories are not correct ronny abraham 2024-01-10 03:56:08 +02:00
  • 0ba56b2f3e forgot to surround the file name variables with quotes ronny abraham 2023-12-12 21:47:12 +02:00
  • 441859c7c4 updated build file for generated, it was using the names of files that it was supposed to generate ronny abraham 2023-12-12 21:43:37 +02:00
  • 62fcaf4134 renamed drf_token to tokens_testing ronny abraham 2023-11-15 00:25:35 +02:00
  • dd80835faf renaming some readme files for clairty ronny abraham 2023-11-14 23:59:04 +02:00
  • fa2beb49cd again fixed up project yml files so it paths/settings points to base ronny abraham 2023-11-14 18:30:35 +02:00
  • 411ff03786 fixed bug in project yml files to find the core ronny abraham 2023-11-14 18:19:36 +02:00
  • cdd0464a3e updated local.generated ronny abraham 2023-11-14 17:49:47 +02:00
  • 3857ef8cc6 added readne for nginx errors ronny abraham 2023-11-14 17:49:36 +02:00
  • 12fc1017ce udpated facebook readme ronny abraham 2023-11-06 16:36:31 +02:00
  • ce6df87b85 updated files to use 'core' as main django app ronny abraham 2023-10-11 14:53:54 +03:00
  • 11416705bd updated readme ronny abraham 2023-10-05 23:45:38 +03:00
  • a3189d2cd1 got rid of some crap in unixsocket.jinja2, and fixed a but in ssl_socket that ceated a Error: duplicate listen options for [::]:443 sss ronny abraham 2023-10-03 17:29:19 +03:00
  • 6a5e97c4c5 updated ssl socket for nginx conf ronny abraham 2023-10-03 17:01:33 +03:00
  • b780ce5527 added new readme file on how to do drf authorization ronny abraham 2023-10-03 17:00:23 +03:00
  • c3f680d3c9 updated django.manage so that if working dir is false, then the second section only gets executed under the elese, whereas if working dir was true, the second section got executed anyway ronny abraham 2023-08-10 22:46:14 +03:00
  • 4fbf259f69 updated deploy_meta with new default nginx port 80 for development branch ronny abraham 2023-07-28 14:20:01 +03:00
  • 39444b1afd added a new readme file for sphinx stuff ronny abraham 2023-07-20 14:49:22 +03:00
  • 6afd1ee99b updated the database module to have better documentation ronny abraham 2023-07-20 14:49:03 +03:00
  • ba75800fb6 updated the docs files to include info on database ronny abraham 2023-07-20 14:48:44 +03:00
  • 66c85782e8 modified utils.print_console so that it can have an exit option and give an exit code, also modified database.generate so that it can selectively generate one of the scripts if chosen, has better docutils and also prints a help message when asked ronny abraham 2023-07-20 13:10:28 +03:00
  • fe2090d8e9 updated the gunicorn conf files ronny abraham 2023-07-17 10:23:41 +03:00
  • 9b73b9653d updated django.edit so taht if coverage is not being used for this project/branch, it won't throw an error looking for it ronny abraham 2023-07-17 09:05:20 +03:00
  • 9c56c31e61 update nginx conf files ronny abraham 2023-07-16 21:35:30 +03:00
  • 4bd33473f3 fixed a problem where I was importing modules.utils outside of a try block that would allow me to use customfabric.modules.utils - bc otherwise I can't create the sphinx docs ronny abraham 2023-07-13 15:24:53 +03:00
  • 816797d618 added fabric_deploy as a submodule, cloned it into deploy_meta ronny abraham 2023-07-13 05:48:24 +03:00
  • cf424da881 added a bootstrap.txt template file, and got rid of the old deploy_meta ronny abraham 2023-07-13 05:42:36 +03:00
  • dbc5638eac using utils.ensure_dir in the conf_setup instead of running a bash command to make the needed directories for readmes and confs. also modified layout.yml because i wanted to separate the home name for the fabric install from the directory it's meant to be installed, and i had both on, so it was duplicating the home name, ie usr/bin/fabrichome/fabrichome ronny abraham 2023-07-12 12:42:35 +03:00
  • 0941b2de59 updated layout in shares so it has the correct home name ronny abraham 2023-07-12 11:58:32 +03:00
  • 4ae41d9ed7 added error checking to django.coverage so that if no value is passed in to application, the program sends a message and exits ronny abraham 2023-07-09 21:29:55 +03:00
  • e218dc827c changed the types in docstrings ronny abraham 2023-07-09 21:11:13 +03:00
  • 855bc7feb5 updated doc files ronny abraham 2023-07-08 22:33:05 +03:00
  • 252443c073 refactored utils.handle_help to have better docstrings and renamed to be acalled handle_flag_message ronny abraham 2023-07-08 22:23:09 +03:00
  • f53569cadc modified a bunch of docstrings and fixed up the arguments for ensure_dir and ensure_file ronny abraham 2023-07-08 21:26:24 +03:00
  • bab5cd6a75 requirements file for installation ronny abraham 2023-07-07 19:30:49 +03:00
  • 69f644c763 added docs as a subdirectory ronny abraham 2023-07-07 19:12:26 +03:00
  • ce52403b15 got rid of debugging code ronny abraham 2023-07-07 18:03:07 +03:00
  • 25cc12b89d fixed a probem with modules.utils import virtualenv so it now calls customfabric.modules... also fixed an annoying invalid escape sequence \[ bug by turning it into a raw string. finally got rid of an unneeded variable 'settings_coveragepath' ronny abraham 2023-07-07 17:33:55 +03:00
  • 9484150903 made database and deploy import relative ronny abraham 2023-07-07 16:38:52 +03:00
  • 625de17d67 fixed 'api' so that it works with relative import ronny abraham 2023-07-07 16:27:00 +03:00
  • 9db3b58139 made modules/django to work with relative import ronny abraham 2023-07-07 16:25:23 +03:00
  • 61e567d0bf fixed fabfile so it imports relatively ronny abraham 2023-07-07 16:21:47 +03:00
  • 629ea20cb5 fixed an error in spacing ronny abraham 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 ronny abraham 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 ronny abraham 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 ronny abraham 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 ronny abraham 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' ronny abraham 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 ronny abraham 2023-07-07 15:11:40 +03:00
  • 0956487932 got rid of ooutdated django settings files in conf/django ronny abraham 2023-07-07 14:49:16 +03:00
  • e8a739338b got rid of django settings files in the templates/share/conf/gunicorn directory ronny abraham 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 ronny abraham 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 ronny abraham 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 ronny abraham 2023-07-04 03:13:23 +03:00
  • 4f2750ebb4 not sure if the change to ssl should be here, but fuck it ronny abraham 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 ronny abraham 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 ronny abraham 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 ronny abraham 2023-07-03 23:19:11 +03:00
  • eb66e2a1bf added a method to automate python converage in the django module ronny abraham 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 ronnyabraham 2023-06-06 22:08:33 +03:00
  • 85c4c018e1 updates in the nginx files ronnyabraham 2023-05-22 18:08:10 +03:00
  • bc57729538 added python-version variable ronnyabraham 2023-05-22 15:44:17 +03:00
  • 3ac22718f9 fixed yaml loader bug ronnyabraham 2023-05-18 17:46:51 +03:00
  • 7b507e5874 changes to configuration files ronnyabraham 2023-05-18 15:42:05 +03:00
  • 2bf156a25b Merge branch 'master' of bitbucket.org:ronnyabraham/fabric ronnyabraham 2023-05-18 15:41:06 +03:00
  • ec4730a7fd updated configuration.backup so it has a better description ronnyabraham 2023-05-18 15:40:51 +03:00
  • b4954662d5 got rid of some dead code ronnyabraham 2022-09-12 14:00:05 +03:00
  • dc564de0c1 fixed docker-compose so it's now 'docker compose' ronnyabraham 2022-09-04 00:24:18 +03:00
  • b66c1fa18f added a TIMEOUT to the docker remote up, bc it was timing out ronnyabraham 2022-09-02 01:16:43 +03:00
  • dbc60c1cdc making it possible to add volumes to the docker section of the project file ronnyabraham 2022-09-01 22:24:49 +03:00
  • d4b8859d91 some cleaning up of code in utils ronnyabraham 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 ronnyabraham 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 ronnyabraham 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 ronnyabraham 2022-05-08 16:43:39 +03:00
  • 9106127a16 removed database.init from deploy.bootstrap b/c the database was already getting initialized ronnyabraham 2022-05-08 12:41:56 +03:00
  • 286f149f08 fixed import statement so that maintenance is called from same dir as database ronnyabraham 2022-05-08 12:39:08 +03:00
  • cfa2b79788 fixed problem with docker ip when running on local machine, just give it localhost ronnyabraham 2022-05-08 12:28:19 +03:00
  • fe5c77a5bf added debugging to run, create - docker_service_name property passed to jinja file ronnyabraham 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 ronnyabraham 2022-05-06 18:11:02 +03:00
  • 331ea2afd2 readme.md edited online with Bitbucket - should have been git submodule add, not git add submodule Barbados 2022-05-02 13:20:48 +00:00
  • 2fd9a8eb64 fixed up some PEP warnings, and put a few debugging print statements into comments ronnyabraham 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: ronnyabraham 2022-04-29 14:36:06 +03:00
  • 15370c4a28 got rid of some unnecessary regex in the fixtures function ronnyabraham 2020-08-31 20:16:33 +03:00
  • f64b235eae updated meta information in templates. ronnyabraham 2020-08-10 23:06:41 +03:00
  • 512328cb6f fixed over indented line ronnyabraham 2020-08-10 22:46:30 +03:00
  • ca45c457f7 update deploy_meta and template for dev docker ronnyabraham 2020-04-13 20:55:29 +03:00
  • 12389c5d59 updated aws readme ronnyabraham 2020-03-23 23:43:48 +02:00