Skip to content

This is a stack of DAMP(Django + Angular + MySQL + Python).

License

Notifications You must be signed in to change notification settings

gary60405/DAMP-Stack-Starter-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

15e9c76 · Jul 3, 2020

History

3 Commits
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020

Repository files navigation

DAMP Stack Starter Project

List of integrated packages

As the below list, It had integrated packages for deploying and building restful API.

  • psycopg2-binary
  • django-heroku
  • gunicorn
  • django
  • djangorestframework

Prerequisites

  • Yarn 1.22.4
  • Angular CLI 10.0.0
  • Node 12.18.1
  • MySQL 5.7
  • Python 3.8.3
    • pipenv 2020.6.2

Usage

Step.1

Clone the project.

$ git clone https://github.com/gary60405/DAMP-Stack-Starter-Project.git

Step.2

Launch the cmd.exe and type the text below for installing all the node_modules.

$ cd frontend
$ yarn install

Step.3

Launch the cmd.exe and type the text below for installing all the packages.

$ cd backend
$ pipenv install

Step.4

Open backend/backend/setting.py

# Generating SECRET_KEY here: https://djskgen.herokuapp.com/
SECRET_KEY = ''

# Filling in the empty fields
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': '', # schema_name
        'USER': '', # user_name
        'PASSWORD': '', # login_password
        'HOST': 'localhost', # localhost or 127.0.0.1
        'PORT': '3306',
    }
}

License

MIT license