Fixes on deployment
This commit is contained in:
parent
4173d7de27
commit
553889e625
|
@ -48,7 +48,7 @@ class Command(BaseCommand):
|
|||
help = 'Setup PostgreSQL database.'
|
||||
|
||||
def run_postgres(self, cmd, *args, **kwargs):
|
||||
return run('su postgres -c "psql -c \\"%s\\""' % cmd, *args, **kwargs)
|
||||
return run('su postgres -c "psql -c \\"%s\\""' % cmd, *args, display=True, **kwargs)
|
||||
|
||||
@check_root
|
||||
def handle(self, *args, **options):
|
||||
|
|
|
@ -23,6 +23,6 @@ RUN export TERM=xterm; curl https://raw.githubusercontent.com/glic3rinu/django-o
|
|||
RUN apt-get clean
|
||||
|
||||
RUN useradd orchestra --shell /bin/bash && \
|
||||
echo "orchestra:orchestra" | chpasswd
|
||||
{ echo "orchestra:orchestra" | chpasswd; } && \
|
||||
mkhomedir_helper orchestra && \
|
||||
adduser orchestra sudo
|
||||
|
|
Loading…
Reference in a new issue