Giter VIP home page Giter VIP logo

django-contact-app-no-pic's Introduction

Django Contacts App

My project preview image

My project preview image

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Check requirements.txt for packages to install

Installations for mac and linux users

First clone the repository from Github and switch to the project directory
Open terminal and install pipenv for your project

You can use any other way of creating a virtual env if you are familiar with venvs

  • sudo apt install pipenv
Install Django, activate and migrate project

Please Now Do This

Create this two files in the project base where settings.py can be found

1) SECRET_KEY.py 
2) EMAIL_CONFIG_INFO.py
  • Inside the SECRET_KEY.py, create a variable name called SECRET_KEY and store your secret key in it. https://djecrety.ir can help you generate one.

  • Inside the EMAIL_CONFIG_INFO.py file, create 2 variable names called;

    • EMAIL_HOST_USER = 'gmail address name'

    • EMAIL_HOST_PASSWORD = 'gmail address password'

  • pipenv install django==3.2 . Dont forget the space and dot at the end!

  • pipenv shell

  • python manage.py makemigrations

  • python manage.py migrate

Create django superuser
  • python manage.py createsuperuser
    • Fill in the fields to create a superuser Passwords are invisble
You can now run the development server

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.