Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f134e240
authored
Apr 15, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: update
parent
a2394d56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
miscellaneous/devenv/django.conf
+3
-0
miscellaneous/devenv/nextinit.sh
+8
-0
No files found.
miscellaneous/devenv/django.conf
View file @
f134e240
...
...
@@ -5,5 +5,8 @@ stop on runlevel [!2345]
respawn
respawn
limit
30
30
env
DJANGO_SETTINGS_MODULE
=
cloud
.
settings
.
dev
env
DJANGO_DB_PASSWORD
=
asjklddfjklqjf
env
DJANGO_SECRET_KEY
=
asjklddfjklqjfasjklddfjklqjfasjklddfjklqjf
exec
sudo
-
u
cloud
/
opt
/
webadmin
/
cloud
/
manage
.
py
runserver
0
.
0
.
0
.
0
:
8080
miscellaneous/devenv/nextinit.sh
View file @
f134e240
#!/bin/bash
sudo
pip install django_extensions
sudo
pip install django-debug-toolbar
for
i
in
cloudstore toplist django
do
sudo
stop
$i
||
true
done
sudo
tee /etc/sudoers.d/djangokeep
<<
A
Defaults env_keep += DJANGO_DB_PASSWORD
Defaults env_keep += DJANGO_SECRET_KEY
Defaults env_keep += DJANGO_SETTINGS_MODULE
A
sudo
chmod 0440 /etc/sudoers.d/djangokeep
sudo
apt-get install rabbitmq-server gettext memcached
sudo
rabbitmqctl delete_user guest
||
true
sudo
rabbitmqctl add_user nyuszi teszt
||
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment