diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_build.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_build.xml new file mode 100644 index 000000000..5aef1f6c4 --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_build.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_compass.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_compass.xml new file mode 100644 index 000000000..a00c9920b --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_compass.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_serve.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_serve.xml new file mode 100644 index 000000000..0f1ef6da8 --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_serve.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_start_email_server.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_start_email_server.xml new file mode 100644 index 000000000..a42ee122b --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_start_email_server.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_stop_email_server.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_stop_email_server.xml new file mode 100644 index 000000000..7b44b338b --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_stop_email_server.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_watch.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_watch.xml new file mode 100644 index 000000000..d6cebf82b --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__grunt_watch.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___class__TestUser.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___class__TestUser.xml new file mode 100644 index 000000000..fc4d53ead --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___class__TestUser.xml @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___file__test_models.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___file__test_models.xml new file mode 100644 index 000000000..cbdf088d7 --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___file__test_models.xml @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___module__users.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___module__users.xml new file mode 100644 index 000000000..1a8c2b94a --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___module__users.xml @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___specific__test_get_absolute_url.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___specific__test_get_absolute_url.xml new file mode 100644 index 000000000..467aab0fb --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/Docker__tests___specific__test_get_absolute_url.xml @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/build.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/build.xml new file mode 100644 index 000000000..74e9fe2a0 --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/build.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/compass.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/compass.xml new file mode 100644 index 000000000..0ad62a93f --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/compass.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/serve.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/serve.xml new file mode 100644 index 000000000..dd1904d94 --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/serve.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/start_email_server.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/start_email_server.xml new file mode 100644 index 000000000..52f271a3e --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/start_email_server.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/stop_email_server.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/stop_email_server.xml new file mode 100644 index 000000000..a4faf046f --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/stop_email_server.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/.idea/runConfigurations/watch.xml b/{{cookiecutter.repo_name}}/.idea/runConfigurations/watch.xml new file mode 100644 index 000000000..b674ad35c --- /dev/null +++ b/{{cookiecutter.repo_name}}/.idea/runConfigurations/watch.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/{{cookiecutter.repo_name}}/README.rst b/{{cookiecutter.repo_name}}/README.rst index 756b656d3..96a15b4f3 100644 --- a/{{cookiecutter.repo_name}}/README.rst +++ b/{{cookiecutter.repo_name}}/README.rst @@ -7,7 +7,7 @@ LICENSE: BSD Settings ------------- +-------- {{cookiecutter.project_name}} relies extensively on environment settings which **will not work with Apache/mod_wsgi setups**. It has been deployed successfully with both Gunicorn/Nginx and even uWSGI/Nginx. diff --git a/{{cookiecutter.repo_name}}/compose/pycharm/entrypoint b/{{cookiecutter.repo_name}}/compose/pycharm/entrypoint index cc51a7b89..b746bc6a4 100755 --- a/{{cookiecutter.repo_name}}/compose/pycharm/entrypoint +++ b/{{cookiecutter.repo_name}}/compose/pycharm/entrypoint @@ -28,8 +28,8 @@ cat /ssh_id_rsa.pub > /home/$user/.ssh/authorized_keys chown $user:$user /home/$user chmod 755 /home/$user chmod 700 /home/$user/.ssh -chmod 700 /home/docker/.ssh -chmod 600 /home/docker/.ssh/authorized_keys +chmod 700 /home/$user/.ssh +chmod 600 /home/$user/.ssh/authorized_keys chown -R $user:$user /home/$user/ diff --git a/{{cookiecutter.repo_name}}/docker-compose.yml b/{{cookiecutter.repo_name}}/docker-compose.yml index 01f5d68bc..99eaa9337 100644 --- a/{{cookiecutter.repo_name}}/docker-compose.yml +++ b/{{cookiecutter.repo_name}}/docker-compose.yml @@ -22,6 +22,7 @@ nginx: redis: image: redis:3.0 + {% if cookiecutter.use_celery == 'y' %} celeryworker: build: . @@ -40,4 +41,5 @@ celerybeat: - postgres - redis command: celery -A {{cookiecutter.repo_name}}.taskapp beat -l INFO -{% endif %} \ No newline at end of file +{% endif %} +