Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.13 KB

File metadata and controls

36 lines (30 loc) · 1.13 KB

Advisoris FS - Prototype ( No Ngnix setup / secure media files )

This project provides a solution to a data-sharing problem with users having read-only privileges in the form of a web app. See ReadME.PDF for the full case study.

Installation

You need to have Python 3.8.2 Use the package manager pip to install the dependencies in requirements.txt.

pip install -r requirements.txt
#or
py -m pip install -r requirements.txt

Usage

Add a new file in the main folder: db.sqlite3 Before hosting make sure to disable [DEBUG] by setting it to [False] and set the [ALLOWED_HOSTS] varriable in the setting file

DEBUG = False
#Allow CDN's as well
ALLOWED_HOSTS = [
    'localhost',
    #...
    ]

To run the server make sure you're in the root directory of the project

py manage.py runserver

Open your Browser and connect to localhost:8000

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.