Skip to content

Commit 15edcb0

Browse files
authored
Merge pull request #22 from Spoken-tutorial/forumupgrade
Forums upgrade to Django version:2.2.6
2 parents e59c12c + 28a8fe2 commit 15edcb0

22 files changed

Lines changed: 326 additions & 209 deletions

File tree

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
DB='forums'
2+
DB_USER='root'
3+
DB_PASSWORD= '1234'
4+
SPOKEN_DB='13thJune'
5+
6+
SECRET_KEY=''
7+
VIDEO_PATH=''
8+
DEBUG=True
9+
TEMPLATE_DEBUG=True

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ nosetests.xml
4242
.project
4343
.pydevproject
4444
uwsgi-master.pid
45+
.env
46+
.vscode

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
# Getting started.
33

44
1. Create new database and import forums_empty.sql file from 'data' folder.
5-
2. Create copy the `forums/config.sample.py` to `forums.config.py` and add the values accordingly.
5+
2. Create a copy of `.env.example` to `.env` and add the values accordingly.
66
3. To override any settings, create `forums/local_settings.py` and add the settings there.
7+
8+
4. Python3 requirements:
9+
10+
sudo apt-get install python3-pip
11+
sudo apt-get install python3-dev default-libmysqlclient-dev

0 commit comments

Comments
 (0)