Giter Site home page Giter Site logo

lunamystry / site_generate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gautengpug/site_generate

0.0 3.0 0.0 1.01 MB

Contains all the python files to generate the static(HTML, CSS, etc.) files.

Makefile 3.53% Shell 2.05% CSS 88.75% JavaScript 3.71% Python 1.96%

site_generate's Introduction

site_generate

Contains all the python files to generate the static(HTML, CSS, etc.) files.

This repo contains all the necessary files needed to generate the static output files.

You need to have Pelican (as well as Markdown) installed on your system to make this work. Best current way to do this is using venv (some *nix libraries required in python installation too).

Link to setup Pelican found here:

http://chdoig.github.io/create-pelican-blog.html

OR here:

https://gist.github.com/josefjezek/6053301

#how to create the site Clone both this repo and the static web repo - gautengpug.github.io.

Edit/Add files in the content directory of this repo... Have a look at what is there to get an idea of the format. It is markdown...

Ok then run

make publish

To test your output run

make serve

This will give you a local server to check the whole site out locally. Go to

localhost:8000

When you are ready to upload check the 'output' directory in the source folder. I just copy the whole directory from the output to the static site repo. When asked I only copy the changed files (mac). [wee need to make this easier] When output is generated, make sure that you copy it from "output" folder into the gautengpug.github.io folder/repo. Only output must exist in that repo.

Remember to commit and push both the source and output back to their respective repos.

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.