Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iric-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo_iric
iric-data
Commits
2f44d78b
Commit
2f44d78b
authored
7 months ago
by
Jean-Philippe Laverdure
Browse files
Options
Downloads
Patches
Plain Diff
rewrite part of the README for locally run project + updates values in .env.example
parent
4c772b33
No related branches found
Branches containing commit
No related tags found
1 merge request
!115
rewrite part of the README for locally run project + updates values in .env.example
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env.example
+6
-8
6 additions, 8 deletions
.env.example
README.md
+8
-6
8 additions, 6 deletions
README.md
with
14 additions
and
14 deletions
.env.example
+
6
−
8
View file @
2f44d78b
SECRET_KEY=
^9&_!k-r&t^y9)+z9zh()rrt0qy6zpat=$8&+f0d_d0d35@iq-
SECRET_KEY=
<visit https://djecrety.ir/ and paste value here>
DEBUG=True
ALLOWED_HOSTS=.iric.ca, localhost, 127.0.0.1
ADMINS=
JPL/jean-philippe.laverdure@umontreal.ca,Jo/jonathan.seguin.1@umontreal.ca,Gen/genevieve.boucher@umontreal.ca
ADMINS=
<username>/<email>
# Use SQLite engine for simplified DEV environment (laptop)
# DB_ENGINE=django.db.backends.sqlite3
DB_ENGINE=django.db.backends.postgresql
...
...
@@ -10,15 +10,14 @@ DB_USER=iric_data_user
DB_PASSWORD=
DB_HOST=127.0.0.1
DB_PORT=5432
AUTH_LDAP_SERVER_URI=ldap
://sim.umontreal.ca
AUTH_LDAP_BIND_DN=
iric-bioinfo@sim.umontreal.ca
AUTH_LDAP_BIND_PASSWORD=
647By2vC
AUTH_LDAP_SERVER_URI=
<
ldap
-server>
AUTH_LDAP_BIND_DN=
<ldap-user>
AUTH_LDAP_BIND_PASSWORD=
<ldap-passwd>
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER=True
AUTH_LDAP_USER_DN_TEMPLATE=cn=%(user)s,ou=People,dc=sim,dc=umontreal,dc=ca
AUTH_LDAP_SEARCH=ou=people,dc=sim,dc=umontreal,dc=ca
# Toggle the following to remove staff status from bioinfo members:
AUTH_LDAP_STAFF_GROUP=CN=iric-bioinformatique,OU=Groupes,OU=iric,OU=People,DC=sim,DC=umontreal,DC=ca
#AUTH_LDAP_STAFF_GROUP=CN=iric-invites,OU=Groupes,OU=iric,OU=People,DC=sim,DC=umontreal,DC=ca
AUTH_LDAP_STAFF_GROUP=iric-bioinformatique
COMPUTER_DOMAIN=SIM
...
...
@@ -29,4 +28,3 @@ DATA_ROOT=
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_KEY=
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_SECRET=
SOCIAL_AUTH_AZUREAD_TENANT_OAUTH2_TENANT_ID=
This diff is collapsed.
Click to expand it.
README.md
+
8
−
6
View file @
2f44d78b
...
...
@@ -70,15 +70,17 @@ DROP OWNED BY iric_data_user;
# with active virtenv
## Initial deploy:
python manage.py migrate
python manage.py populate_iric
## If NOT initial deploy (safe to run if no migrations exist)
python manage.py migrate portal
python manage.py migrate auth
# Add initial (super) user
# Add initial (super) user
(follow onscreen prompts)
python manage.py createsuperuser
## Apply all remaining migrations
python manage.py migrate
# Add IRIC defaault data
python manage.py populate_iric
# Run without SSL
python manage.py runserver
# Site is now accessible at:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment