Skip to content

Commit

Permalink
Made development setup - accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
kurianbenoy committed Feb 2, 2019
1 parent 880ccc6 commit 6884225
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ExcelPlay Kryptos
Follow the steps below to start the API server:
- Primary requirements (These need to be preinstalled)
- redis
- redis(production only)
- postgresql
- pip
- virtualenv
Expand All @@ -12,6 +12,7 @@ Follow the steps below to start the API server:
```
- Install the requirements
```sh
$ cd excelplay_krypts/
$ pip install -r requirements.txt
```
- Run the dev server
Expand All @@ -21,3 +22,4 @@ Follow the steps below to start the API server:
$ python manage.py createsuperuser
$ python manage.py runserver
```
- If you are setting up a development server uncomment appropriate SECRET KEY SETTING
3 changes: 2 additions & 1 deletion excelplay_kryptos/excelplay_kryptos/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
#SECRET_KEY = env('SECRET_KEY')

SECRET_KEY = secretkey
#SECRET_KEY='excel2k19'

ALLOWED_HOSTS = ['35.200.222.240', 'play-demo.excelmec.org','play.excelmec.org']
ALLOWED_HOSTS = ['35.200.222.240', 'play-demo.excelmec.org','play.excelmec.org','localhost']


# Application definition
Expand Down

0 comments on commit 6884225

Please sign in to comment.