Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
bc57729538 added python-version variable 2023-05-22 15:44:17 +03:00
15370c4a28 got rid of some unnecessary regex in the fixtures function 2020-08-31 20:16:33 +03: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
Ronny Abraham
01c122ffcb update django manage so it has better info on debug 2019-06-21 14:53:12 +03:00
Ronny Abraham
dd797c3a77 add generated to list of editable files 2019-06-02 22:52:21 +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
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
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
8dab351ce6 add logging 2018-11-01 01:34:30 +02:00
Ronny Abraham
ebb0e6fdbe updated edit to use log files 2018-10-25 20:37:15 +03:00
Ronny Abraham
4eba2cbf5a updating for python3 2018-10-18 12:45:07 +03:00
Ronny Abraham
a5677a96a0 updated print funcs 2018-10-17 23:08:51 +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
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
2c19ba589b updated help message
modified:   modules/django.py
2017-08-28 23:53:26 +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
Ronny Abraham
c6c062b333 modified: modules/django.py 2016-09-21 16:20:32 +03:00
Ronny Abraham
595f1ba09d changed name of commandline method
modified:   modules/django.py
2016-09-20 18:41:18 +03:00
Ronny Abraham
829b1d3cb0 got rid pyc file 2016-09-08 19:41:55 +03:00
Ronny Abraham
23da1736ee added some debug checking in gunicorn generate
modified:   modules/django.py
2016-09-07 22:03:10 +03:00
Ronny Abraham
f1a4da7553 added check_app method, and fixtures method from debates_eu
modified:   modules/django.py
2016-09-07 21:52:40 +03:00
Ronny Abraham
c1fc497547 added extendedname variable to gunciorn generation
modified:   modules/django.py
2016-09-07 21:51:47 +03:00
Ronny Abraham
f54fbac637 fixed param issue with gunicorn in script generator
modified:   modules/django.py
2016-09-07 20:46:37 +03:00
Ronny Abraham
cf2cc845bc changes to fabric
modified:   modules/database.py
	modified:   modules/django.py
	modified:   modules/initialize.py
	modified:   modules/utils.py
2016-09-06 18:53:13 +03:00
Ronny Abraham
e80760ba37 cleaned up names, and modified to generate 'all' scripts
modified:   modules/django.py
2016-09-06 16:57:36 +03:00
Ronny Abraham
2bef12902e new file: api.py
new file:   api.pyc
	new file:   conf/fabric.yml
	new file:   fabfile.py
	new file:   fabfile.pyc
	new file:   modules/__init__.py
	new file:   modules/__init__.pyc
	new file:   modules/conf_setup.py
	new file:   modules/conf_setup.pyc
	new file:   modules/configuration_setup.py
	new file:   modules/database.py
	new file:   modules/database.pyc
	new file:   modules/deploy.py
	new file:   modules/deploy.pyc
	new file:   modules/django.py
	new file:   modules/django.pyc
	new file:   modules/docker.py
	new file:   modules/docker.pyc
	new file:   modules/initialize.py
	new file:   modules/initialize.pyc
	new file:   modules/maintenance.py
	new file:   modules/maintenance.pyc
	new file:   modules/nginx.py
	new file:   modules/nginx.pyc
	new file:   modules/pip.py
	new file:   modules/pip.pyc
	new file:   modules/setup.pyc
	new file:   modules/supervisor.py
	new file:   modules/supervisor.pyc
	new file:   modules/testing/__init__.py
	new file:   modules/testing/__init__.pyc
	new file:   modules/testing/configuration_setup.py
	new file:   modules/testing/maintenance.pyc
	new file:   modules/utils.py
	new file:   modules/utils.pyc
	new file:   templates/conf/database/files/db.drop_all.sql.jinja2
	new file:   templates/conf/database/files/db.drop_db.sql.jinja2
	new file:   templates/conf/database/files/db.init.sql.jinja2
	new file:   templates/conf/database/files/db.re_init.sql.jinja2
	new file:   templates/conf/django/files/gunicorn.jinja2
	new file:   templates/conf/django/files/gunicorn.unixsocket.jinja2
	new file:   templates/conf/django/files/local.jinja2
	new file:   templates/conf/django/files/settings.jinja2
	new file:   templates/conf/django/files/settings18.jinja2
	new file:   templates/conf/django/files/wsgi.jinja2
	new file:   templates/conf/django/files/wsgi.py
	new file:   templates/conf/docker/files/database.jinja2
	new file:   templates/conf/gunicorn/files/gunicorn.jinja2
	new file:   templates/conf/gunicorn/files/gunicorn.unixsocket.jinja2
	new file:   templates/conf/gunicorn/files/local.jinja2
	new file:   templates/conf/gunicorn/files/settings.jinja2
	new file:   templates/conf/gunicorn/files/settings18.jinja2
	new file:   templates/conf/gunicorn/files/wsgi.jinja2
	new file:   templates/conf/gunicorn/files/wsgi.py
	new file:   templates/conf/nginx/files/default.conf.jinja2
	new file:   templates/conf/nginx/files/unixsocket.jinja2
	new file:   templates/conf/supervisor/files/conf_old
	new file:   templates/conf/supervisor/files/supervisor.jinja2
	new file:   templates/meta/development.yml
	new file:   templates/meta/layout.yml
	new file:   templates/meta/staging.yml
	new file:   templates/readmes/aws.md
	new file:   templates/readmes/gandi.md
	new file:   templates/readmes/reset_migrations.md
	new file:   templates/readmes/setup_gandi.md
	new file:   templates/readmes/translations.md
	new file:   templates/readmes/update_images.md
2016-09-06 14:43:49 +03:00