Skip to content

Commit d841d51

Browse files
Merge pull request #13 from tareko/patch-1
Add Ubuntu-specific instructions
2 parents c98d83d + c6c5b62 commit d841d51

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

INSTALLATION.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ Steps:
1212
------
1313
1. Install all requirements by running `pip install -r requirements.txt` in project root
1414
- To install some python libraries like `python-ldap` or `psycopg2` you might need to install some OS based
15-
packages. Please refer to their individual installation guideline on their homepages
15+
packages. Please refer to their individual installation guideline on their homepages.
1616
2. Copy configurable settings file `sso/settings_user.py.sample` to `sso/settings_user.py`
1717
3. Edit `sso/settings_user.py` and add configurations and credentials
1818
4. If you are planning to run in production, you should add database settings in `sso/settings_user.py`
1919
5. Add `SECRET_KEY` in `sso/settings_user.py`
2020
6. Run migrations by `python manage.py migrate`
2121
7. Create superuser by running `python manage.py createsuperuser`
2222
8. Run `python manage.py runserver`. Open browser at `http://localhost:8000/`
23-
9. Congrats! Installation is complete!
23+
9. Congrats! Installation is complete!
24+
25+
Ubuntu-specific instructions (16.04+):
26+
--------------------------------------
27+
1. Install python3-pip and necessary LDAP libraries: `sudo apt-get install python3-pip libsasl2-dev libldap2-dev libssl-dev`
28+
2. Install requirements: `pip3 install -r requirements/base.txt`
29+
Proceed as above for the remainder.

0 commit comments

Comments
 (0)