Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/defcon-007/pratilipi-submission
Task submission for pratilipi
https://github.com/defcon-007/pratilipi-submission
Last synced: 17 days ago
JSON representation
Task submission for pratilipi
- Host: GitHub
- URL: https://github.com/defcon-007/pratilipi-submission
- Owner: DefCon-007
- Created: 2019-01-19T09:47:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T10:13:30.000Z (almost 6 years ago)
- Last Synced: 2024-11-08T05:36:34.537Z (2 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PratilipiPVR
A django application for the task of Pratlipi full stack postion. Website live at http://pratilipipvr.defcon007.com/
## Installation
Clone the repository locally.
```bash
git clone https://github.com/DefCon-007/pratilipi-submission```
Now create a virtual environment for the project
```bash
pip3 install virtualenv
virtualenv -p python3 ./venvpvr
```Activate the virtual environment
```bash
source venvpvr/bin/activate
```Install the required modules
```bash
cd pratilipi-submission
pip install -r requirements.txt
```Now make a local copy of the `config-template.ini` and complete the fields accordingly. (Postgresql database is recommended)
```bash
cp ./config-templat.ini ./config.ini
vim config.ini
```Collect static django assets
```bash
python manage.py collectstatic
```Run migrations
```bash
python manage.py migrate
```Now everything is setup run `python manage.py runserver` to run the local development server.