Giter Club home page Giter Club logo

django-templatestore's Introduction

django-templatestore

Python application

django-templatestore is a Django application/ UI tool to edit and save your templates.

Demo application: send_me_a_mail

Quick start

Follow steps to quickly add django-templatestore to your existing django application:

  1. Install django-templatestore
    pip install django-templatestore
    
  2. Add templatestore to your INSTALLED_APPS in settings.py:
    INSTALLED_APPS = [
        ...
        'templatestore',
    ]
    
  3. Include the templatestore URLconf in your project's urls.py:
    path('templatestore/', include('templatestore.urls')),
    
  4. Run python manage.py collectstatic to collect the static files into root static folder.
  5. Run python manage.py migrate to create the templatestore models.
  6. Start the development server and visit http://127.0.0.1:8000/templatestore/ to start editing templates.

Changelog

Here

Templating Library Support

Currently following templating libraries are supported:

Share your screenshot

templateditor.herokuapp.com templateditor.herokuapp.com

Development

  • Setup

    • Install nix
      Follow steps here, if not done already
    • Run
      nix-shell --pure shell.nix
      
      • shell.nix is tested on Arch Linux, Ubuntu, Macos
        Failing to run: please raise issue here :)
  • Update requirements

    • python
      pip install -r requirements.txt # python
      
    • node
      cd templatestore/frontend/ && npm install && cd - # node packages
      
  • Run

    • Build js
      cd templatestore/frontend/ && npm run build && cd -
      
    • Collect static files
      python manage.py collectstatic
      
    • Run application
      python manage.py runserver
      

django-templatestore's People

Contributors

wilspi avatar vijay-giri avatar dependabot[bot] avatar

Watchers

James Cloos 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.