Code Monkey home page Code Monkey logo

violantecodes / wagtail_author_site Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 131 KB

A fully modular Python/Django/Wagtail CMS site, designed for writers/authors. All specifics, like bootstrap theme, font-icon links, names, social media links, etc, are stored as environmental variables via Python-Decouple and custom Wagtail Admin settings to maximize code re-usability. Apps for Blog, Books (with booklist), Author, Contact with Form, landing site, and all fully mobile responsive and styled in bootstrap. Pass-through menus using Wagtail-menus.

Python 68.80% HTML 26.26% CSS 4.95%
wagtail-cms django python modular reusability

wagtail_author_site's Introduction

A Modular Display Site for Authors, Created with Django/Wagtail CMS

Table of Contents

X.X Setup

X.X Quickstart

  1. Clone the repo
  2. Create virtual env
  3. Delete the first line of sample_env.txt and rename the file to just .env
  4. make migrations and migrate (python manage.py makemigrations; python manage.py migrate)
  5. Setup superuser
  6. Open admin panel and set social links in settings.

X.X Settings Detail

Set social links Create Any content warnings / genres (Django models from admin panel) Page Creation Order Home Page + make available for menu BookIndexPage as Child of HomePage + make available for menu Series Page as Child of BookIndexPage(Don't make available for menu at this time. Templates not created and styled yet.) Book Page as Child of SeriesPage(Don't do at this time. Can do later. Templates not styled.)

Custom Settings for social media links (from admin panel)

Setup Add Pages

Custom Features

Custom Template Tags

Pass-through Menu

Parent Page types

X.X Packages

X.X Python-Decouple

Environmental Variable Storage Settings for name of site and CDN links like fontawesome, bootstrap theme file, stored as environmental variables.

X.X Wagtail-Menus

Need to make sure pages have "add to menu enabled in sharing."

X.X Django-Boostrap

Bootstrap theme file loads from environmental variable.

X.X Styling

Boostrap theme link in environment

Maria To-Do:

  • Add sample .env file
  • create success url/template
  • finish contact form model (header injection/ try except block)
  • install django simple recaptcha

wagtail_author_site's People

Contributors

violantecodes 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.