Giter Site home page Giter Site logo

gapbug's Introduction

gapbug

QA site with Python/Django

Gapbug is a Question and Answers Django project like stackoverflow created for personal learning web application development with python.

The mechanisms used here are almost similar to Stockflow, which makes the focus more on the question and the answer, rather than on forums, a place to discuss issues.

We will be happy to report any problems with the code or any idea to make this project better. User Github Discussions

Tech Stack:

Install locally

python -m venv env
source env/bin/activate
git clone https://github.com/mshirdel/gapbug.git
cd gapbug
pip install -r requirements.txt
pip install -r dev-requirements.txt

For local development setting use this config as gapbug/settings/development.py

SECRET_KEY = '[your-secret-key]'

ALLOWED_HOSTS = []

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'gapbug',
        'USER': '[your-database-user]',
        'PASSWORD': '[your-database-password]',
        'HOST': '',
        'PORT': '5432',
    }
}

INSTALLED_APPS.append('rosetta')
INSTALLED_APPS.append('django_extensions')
INSTALLED_APPS.append('debug_toolbar')

MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware')

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
EMAIL_INFO = '[email protected]'
DEFAULT_FROM_EMAIL = '[email protected]'

Migrate database and run project:

python manage.py migrate
python manage.py runserver

gapbug's People

Contributors

dependabot[bot] avatar mshirdel avatar smmousavisp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gapbug's Issues

Test

hello friends
hope you all ok
i wrote some test (views_test and model_test and form_test ) for Account application
if you think it is good time, i will send them to take a look at them

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.