Git Product home page Git Product logo

scrum-board's Introduction

Scrum-Board

It is a digital scrum board which is built using Django and Angular. This project is basically to understand how to integrate two frameworks and build a website

Commands for Windows :

  1. python3 -m venv djangular
  2. cd djangular
  3. .\scripts\activate
  4. pip3 install django
  5. django-admin startproject djangular

Commands for Linux:

  1. python3 -m venv djangular
  2. cd djangular
  3. .\bin\activate
  4. pip3 install django
  5. django-admin.py startproject djangular

Integrate Angular with django:

  1. build angular application: ng build --prod --output-path ../../djangular/scrumboard/static/ --watch --output-hashing none or normal prod build

  2. copy the index.html to templates folder in 'startapp'

  3. add below lines in setting.py

    PROJECT_ROOT = os.path.dirname(os.path.abspath(file)) STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles') #never keep STATIC_ROOT and STATICFILES_DIRS same path as while runserver is executed it copies the static data from STATICFILES_DIRS to STATIC_ROOT path

    STATIC_URL = '/static/'

    #Extra places for collectstatic to find static files. STATICFILES_DIRS = (os.path.join(PROJECT_ROOT, 'static'),)

  4. run command python manage.py collectstatic

  5. changes in index.html file:

    1. add this at the top {% load static %}
    2. change the href and src to this format "{% static 'runtime.js' %}"
  6. add path(r'^',TemplateView.as_view(template_name="index.html")) in urls.py of 'startapp' and add url(r'^',include('scrumboard.urls')) in url.py of the application

scrum-board's People

Contributors

vijeth11 avatar

Watchers

 avatar

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.