Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nishi7409 committed Dec 27, 2020
1 parent 8a74e8b commit aa8f1d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
Automate the process of transferring your semester's calendar from your university's end to your personal calendar (google calendar/outlook calendar/etc)

# Virtual Environment
- python3 -m venv venv
- source venv/bin/activate
- `python3 -m venv venv`
- `source venv/bin/activate`
To deactivate, simply enter `deactivate`

# Dependencies
- python3 -m pip install -r requirements.txt
then lock the requirements
- pip freeze > requirements.txt
- `python3 -m pip install -r requirements.txt` then lock the requirements
- `pip freeze > requirements.txt`

# Starting the server & stuff
- cd web_app
- python3 manage.py runserver
- `cd web_app`
- `python3 manage.py runserver`

Since we're working with a MongoDB, we don't have to worry about migrations :smiley:

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Django==2.2.13
git+https://github.com/django-nonrel/mongodb-engine
git+https://github.com/django-nonrel/djangotoolbox
git+https://github.com/django-nonrel/[email protected]
git+https://github.com/django-nonrel/[email protected]
python-dotenv
Binary file modified web_app/web_app/__pycache__/settings.cpython-36.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion web_app/web_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ['SECRET_KEY']
SECRET_KEY = os.getenv("SECRET_KEY")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down

0 comments on commit aa8f1d2

Please sign in to comment.