Giter VIP home page Giter VIP logo

python-static-site-generator's Introduction

Build a Static Site Generator with Python

Status

Published

Overview

This project is design to be completed on Pluralsight. To find out more see here: https://www.pluralsight.com/product/projects.

Installation

Windows

Open a command prompt or powershell and run the following commands, replacing 'project-root' with the path to the root folder of the project.

> cd 'project-root'
> python -m venv venv
> venv\Scripts\activate.bat
> pip install -r requirements.txt

macOS

Open a terminal and run the following commands, replacing 'project-root' with the path to the root folder of the project.

$ cd 'project-root'
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Note: If you've installed Python 3 using a method other than Homebrew, you might need to type python in the second command instead of python3.

About pip

Versions pip updates frequently, but versions greater than 10.x.x should work with this project.

Verify Setup

In order to verify that everything is setup correctly, run the following command from the project root.

pytest

You should see that all the tests are failing. This is good! We’ll be fixing these tests once we jump into the build step. Every time you want to check your work locally you can type that command, and it will report the status of every task in the project.

Previewing Your Work

You can preview your work by running the command python ssg.py after the first module.

python-static-site-generator's People

Contributors

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