Blogs for tech and beyond from DSC-IEM community.
With the help of this project we hope to give the students of this community a platform to share,
showcase and help each other in their exciting journey of learning and building amazing things.
Everyone is encouraged to contribute to this project
We are using Python and Django for our blog server
virtualenv blogenv
blogenv\Scripts\activate
pip install -r requirements.txt
python manage.py collectstatic
python manage.py makemigrations dscblog
python manage.py migrate --run-syncdb
python manage.py runserver 0.0.0.0:8000
(This will only work on linux)
gunicorn -b 0.0.0.0:80 dscblog.wsgi
For local setup, you can also use settings_dev.py
file
DJ_SECRET_KEY
: Django secret keyBASE_URL
: Root url of the server. eg:https://example.com
DATABASE_URL
: eg:postgres://user:password@localhost/dbname