Coder Social home page Coder Social logo

adinhodovic / wagtail-resume Goto Github PK

View Code? Open in Web Editor NEW
91.0 5.0 15.0 479 KB

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

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

License: MIT License

Python 91.67% HTML 6.35% CSS 1.98%
wagtail django resume resume-template wagtail-cms wagtail-page wagtail-apps

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
  • PDF generation button visibility (public, authenticated, disabled)

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 dependabot[bot] avatar marksweb avatar ryancheley avatar siht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wagtail-resume's Issues

URLFetchingError at /resume/generate

Hello! Thank you for writing this code. I'm trying it with a new project and when I include it in a test project, I'm running into an issue with a URL fetching error for the "Generate PDF" button. The exception is URLError: <urlopen error [Errno 61] Connection refused>.

I definitely included the line in urls.py you included in the directions and as far as I can tell Weasyprint is functional. Do you happen to know anything else that might lead to an error like this?

Thanks again for this extension. I look forward to getting it working.

Installation guide for other OS's

Hello @adinhodovic ,

I think the accessability of the repository would be greatly enhanced by adding an installation guideline for other OS (e.g Windows).

After all, people won't be able to appreciate the work unless they know how to get started! ;)

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.