Coder Social home page Coder Social logo

kuyesu / wagtail-resume Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adinhodovic/wagtail-resume

0.0 0.0 0.0 203 KB

A Wagtail project made to simplify creation of resumes for developers.

Home Page: https://hodovi.cc/wagtail-resume-sample/

License: MIT License

Python 77.74% HTML 16.46% CSS 5.70% Shell 0.10%

wagtail-resume's Introduction

Wagtail resume

Lint Test Coverage Supported Python versions PyPI Version

Wagtail-resume is a reusable Wagtail page model designed to make the creation of your resume easy and quick.

Feaures:

  • Easy management of your resume in Wagtail
  • Search engine optimized using HTML meta tags - make it easier to find your resume in Google
  • Flexible section creation of projects, blog posts, etc
  • Easy customizations of font, icons and background color
  • Easily reference other content on your Wagtail page as blog posts
  • HTML based, no more sending of PDFs, just a url for sharing
  • In-site Weasyprint button for a PDF version
  • Responsive for mobile and tablet

Preview

Resume Preview

The full resume example is live and accesible here.

Dependencies

  • Wagtail-metadata
    • It uses wagtail-metadata for all meta & SEO fields.
  • Wagtail-markdown
  • Weasyprint
    • Uses Weasyprint to generate a PDF from the HTML page.

Installation

Install wagtail-resume with pip:

pip install wagtail-resume

Add the application and dependencies to installed Django applications:

INSTALLED_APPS = [
    ...
    "wagtailmetadata",
    "wagtailmarkdown",
    "wagtail_resume",
    ...
]

Add the urls for generating a pdf using Weasyprint:

    path("resume/", include("wagtail_resume.urls")),

Run the migrations.

Getting started

Import and extend the BaseResumePage:

# home/models.py
from wagtail_resume.models import BaseResumePage


class ResumePage(BaseResumePage):
    pass

After adding the model you'll need to make a migration

python manage.py makemigrations

... and then apply it

python manage.py migrate

Head over to the Wagtail admin and create your resume!

Weasyprint generates PDFs using the absolute URL of a resume which consists of the hostname, port and path. Therefore don't forget to configure your site's host and path in the Wagtail admin interface which is located in settings -> sites. E.g when running the server locally the host should be localhost and the port should be 8000 (or whichever port you develop locally with).

Default Fields

Default resume fields:

  • Role
  • Profile picture
  • Social links
  • About
  • Work Experience
  • Contributions (Opensource/projects)
  • Writing (internal Wagtail pages or external URLs)
  • Education (Degrees/Courses/Certificates)

Customization

Wagtail-resume currently supports 4 customizations:

  • Heading for a section
  • Icon for a section (Fontawesome)
  • Font style
  • Background color

The background-color should be specified in hex (e.g #FFFFFF) or css supported colors and the font should be available on Google fonts. The fonts supported are only the ones from Google Fonts so make sure to check what fonts are available.

wagtail-resume's People

Contributors

adinhodovic avatar danihodovic avatar dependabot-preview[bot] avatar siht avatar ryancheley 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.