Code Monkey home page Code Monkey logo

django-docker-bootstrap's People

Contributors

legios89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-docker-bootstrap's Issues

Gmail email permission

Currently, the email do not allow to send an email if the server not runs on the user own machine.

Better readme

Add dependency: python-dev, Markdown
Plus make it clear that the docker works only in 64 bit OS

Use Translation=False cleanup

  • The following directories should be deleted
    core/templates/admin/
    core/templates/rosetta/
  • The docker/django/config/run.py have a lot of empty lines if the translation is False
  • Remove the Yandex key from the env.txt
  • CACHE_DATE param to docker only needed if the translation module is active

src/static/react folder not found

The cookiecutter doesn't create an empty folder + this folder only needed if the user use react so I think the nodejs should create it if it does not exist.

Nginx giving 502 Bad Gateway error

Hi,

I am using production-docker-compose.yml file to run the project but its giving me 502 error
I have check the nginx logs and found this error:

2016/09/29 05:38:28 [crit] 11#11: *1 connect() to unix:///data/sock/uwsgi.so
ck failed (2: No such file or directory) while connecting to upstream, clien
t: 172.17.0.1, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "uw
sgi://unix:///data/sock/uwsgi.sock:", host: "0.0.0.0", referrer: "http://0.0
.0.0/"

and in my project setup I have no data folder.

Any help on this.

Thanks in advance

Django REST Framework integration

Integrate the REST framework, for me, it's hard to imagine any project without this so I don't want to make this optional. (Easy to debug queries, check data, communicate with frontend, etc..)

locale file in src folder

Hi,
I am not able to create locale folder in src directory as I need to do some changes in locale file. Can you please tell me how locale file for particular language can be created.
I am using following command in django shell for generating it with no success

django-admin makemessages -l zh-hans

Please help
Thanks

No data folder in project setup

Hi,

In django;s run.py file there is three line of code which is giving permission error:

ensure_dir('/data/logs/django', owner='developer', group='developer')
ensure_dir('/data/static', owner='developer', group='developer')
ensure_dir('/src/locale', owner='developer', group='developer')

Error:

chown: changing ownership of ‘/data/static’: Operation not permitted
django_1 | chgrp: changing group of ‘/data/static’: Operation not permitted
django_1 | chmod: changing permissions of ‘/data/static’: Operation not permitted

so because of this there is no data or src/locale folder in my project setup and when I running the project in DEBUF- false mode it is running collestatuc command which is also giving permission error like below:

PermissionError: [Errno 13] Permission denied: '/data/static/images'

raise CalledProcessError(retcode, process.args, output=output)
django_1 | subprocess.CalledProcessError: Command '['django-admin', 'collectstatic', '--noinput', '-i', 'react']' returned non-zero exit status 1

Any help on this

Thanks

How to run cron using Django Package CRONTAB

Hi All,

I am using the django-docker-bootstrap in my project and its need to run cron job and for that I have installed the django package CronTab. And I have define one function for that by using the below URL. Now I am running command djano-admin crontab add and it is giving erorr:

sh: 1: /usr/bin/crontab: not found
Can any one please tell me how to add cron job into crontab.

I have installed the CRONTAB using the below link:
https://pypi.python.org/pypi/django-crontab

Thanks in advance

Rosetta Publish button

The rosetta has the following option: ROSETTA_UWSGI_AUTO_RELOAD
In production, I don't want to restart the server every time a translator press the save button instead I want to add a publish button what can restart the uWSGI if the user pressed it.

Wrong db password

The db_connect function should stop if the password is wrong, not try again and again...

docker-compose instead of buildall.sh

docker-compose can do docker-compose build, from 1.7 it can even do docker-compose up --build.
We can set the build context in the yml file, no need to have a different script.

Js translation

/jsi18n/ url always downloaded with the English prefix /en/jsi18n/
It should use the currently active language

.src_gitignore fix

react/node_modules/* in src_gitignore only needed if the user installed the react module

dev and prod environment

What do you think about creating two folders in root:

root
|
|- dev
|    |- docker-compose.yml
|- prod
|    |- docker-compose.yml
|...

This way it is enough to just cd into the folder and dc up, etc. No need to reference the compose file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.