A web app made using the django
framework. Frontend using html
and bootstrap
and sqlite3
is used as the database. You can add articles which can be viewed by anyone. Just make an account and you are good to go.
Python 3.8
Django 2.2.10
And additional requirements are in Pipfile.
$ git clone https://github.com/<your-github-username>/newspaper-app.git
$ cd newspaper-app
$ pip3 install pipenv
$ pipenv install
$ pipenv shell
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py runserver
Here's a list of steps to be followed for deploying an app to heroku:
$ pipenv lock
$ touch Procfile
Update Procfile with - web: gunicorn <project_name>.wsgi --log-file -
$ pipenv install gunicorn==19.9.0
$ heroku login
$ heroku create <app_name>
$ heroku git:remote -a <app_name>
$ heroku config:set DISABLE_COLLECTSTATIC=1
$ git push heroku master
$ heroku ps:scale web=1
Feel free to raise a issue or make a pull request to fix a bug or add a new feature. If you are new to open source you can first read about git by clicking here.
To get started, the first step is to meet the community. We use slack to communicate, and there the helpful community will guide you. Slack is an instant messaging service used by developers and users of GitHub. It uses chatrooms, where developers can join in and can talk about a particular topic. Click here to join our Slack Workspace.
Check the code of conduct.