Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
/ feature-request Public archive

One page web application that allows the user to create and view feature requests using Django

Notifications You must be signed in to change notification settings

ngshiheng/feature-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Feature Request App

Build a web application that allows the user to create "feature requests" using Django Framework.

This application is built and tested on Ubuntu.

Description

  • This project was hosted on DigitalOcean.
  • Django is used as the server framework of this application
  • PostgreSQL database is used in production while SQLite is used during development
  • Gunicorn application server is configured to interface with this application
  • Nginx is used to reverse proxy to Gunicorn, giving us access to its security and performance features to serve this application

Project Management Tool

In this project, I use Trello to track and organize my tasks and features

My Trello link

Installation

This application was built using:

  • Django 2.2.3
  • Python 3.7.3

Use the package manager pip to install the requirements.

sudo -H pip3 install --upgrade pip

Usage (Development)

Follow the steps below to run locally.

It is best to use the Python virtualenv tool to build locally:

sudo -H pip3 install virtualenv
virtualenv venv-feature-request
source venv-feature-request/bin/activate
pip install -r requirements.txt

Update your settings.py DEBUG to True:

DEBUG = True

Migrate the initial database schema to the SQLite database using the management script:

python manage.py makemigrations
python manage.py migrate

Create an administrative user:

python manage.py createsuperuser

Run the server locally:

python manage.py runserver

Usage (Production)

This project was hosted on DigitalOcean.

You should have a fresh Ubuntu server instance with a non-root user with sudo privileges configured.

After setting up a server with DigitalOcean, proceed with: How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu

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.

About

One page web application that allows the user to create and view feature requests using Django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published