Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
chris
repanier
Commits
aed28371
Commit
aed28371
authored
Jun 19, 2017
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysite: add required files for development with dummy values
parent
e3afa3ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
1 deletion
+44
-1
init.sh
init.sh
+14
-0
mysite/common_settings.py
mysite/common_settings.py
+1
-1
mysite/mysite.ini
mysite/mysite.ini
+27
-0
mysite/settings.py
mysite/settings.py
+2
-0
No files found.
init.sh
0 → 100755
View file @
aed28371
#!/bin/sh
# initialize environment for repanier development
#
# please apt-get install python3-dev
virtualenv
-p
python3 venv
venv/bin/pip
install
-r
requirements/requirement.txt
# activate environment before executing django commands:
#
# $ . venv/bin/activate
# $ ./manage.py migrate
# $ ./manage.py runserver
# ...
mysite/common_settings.py
View file @
aed28371
...
...
@@ -11,7 +11,7 @@ from django.utils.translation import get_language_info
from
django.utils.translation
import
ugettext_lazy
as
_
from
repanier.const
import
*
from
settings
import
*
from
.
settings
import
*
import
os
...
...
mysite/mysite.ini
0 → 100644
View file @
aed28371
[DJANGO_SETTINGS]
; test settings for repanier
DJANGO_SETTINGS_ADMIN_EMAIL
=
admin@locahost
DJANGO_SETTINGS_ADMIN_NAME
=
admin
DJANGO_SETTINGS_DATABASE_HOST
=
default
DJANGO_SETTINGS_DATABASE_NAME
=
db.sqlite3
DJANGO_SETTINGS_DATABASE_PASSWORD
=
DJANGO_SETTINGS_DATABASE_PORT
=
0
DJANGO_SETTINGS_DATABASE_USER
=
DJANGO_SETTINGS_DEBUG
=
True
DJANGO_SETTINGS_DEMO
=
True
DJANGO_SETTINGS_EMAIL_HOST
=
localhost
DJANGO_SETTINGS_EMAIL_HOST_PASSWORD
=
DJANGO_SETTINGS_EMAIL_HOST_USER
=
DJANGO_SETTINGS_EMAIL_PORT
=
0
DJANGO_SETTINGS_EMAIL_USE_SSL
=
False
DJANGO_SETTINGS_EMAIL_USE_TLS
=
False
DJANGO_SETTINGS_ENV
=
dev
DJANGO_SETTINGS_LANGUAGE
=
Fr
DJANGO_SETTINGS_LOGGING
=
True
DJANGO_SETTINGS_CACHE
=
True
DJANGO_SETTINGS_SESSION
=
DJANGO_SETTINGS_COUNTRY
=
Be
DJANGO_SETTINGS_STATIC
=
/tmp
[ALLOWED_HOSTS]
localhost
=
localhost
mysite/settings.py
0 → 100644
View file @
aed28371
# placeholder
SECRET_KEY
=
1234
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