Coder Social home page Coder Social logo

tijptjik / thegodsproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 28.22 MB

the god(s) project

License: MIT License

HTML 11.84% CSS 4.36% Makefile 0.73% Shell 0.73% Python 73.58% Smarty 0.73% Jupyter Notebook 6.77% Emacs Lisp 0.42% JavaScript 0.84%

thegodsproject's Introduction

Pelican : thegodsproject.com

Installation

Clone Repo & Submodules from Github

git clone [email protected]:tijptjik/thegodsproject.git && cd thegodsproject
git submodule update --init --recursive

Install python dependencies

conda env create -n thegodsproject -f environment.yml
source activate thegodsproject

NOTE : You should always run source activate thegodsproject when running the pelican project locally as it activated the conda environment with all the python dependencies in it.

Project Structure

thegodsproject
|-- content # Markdown posts for the blog
|   `-- extra # Misc files - explicitly mapped to output in pelicanconf.py
|-- develop_server.sh
|-- environment.yml # Conda Environement with Python Dependencies
|-- nest # theme
|   `-- static # CSS and fonts
|   `-- templates # HTML jinja templates 
|-- Makefile # Make Tasks
|-- pelicanconf.py # Main config
|-- plugins # Submodules - don't edit
|-- publishconf.py # Config file with additional settings for production
`-- readme.md # You are here

Config Files

So based on the project structure, the config is managed by :

  • pelicanconf.py
  • publishconf.py

Site Development

Site development isdone following the conventions for Pelican themes which uses Jinja for its templates`.

The Jinja templates are located at nesttemplates. Inspect the following three Jinja templates to get an idea of the site structure:

nest/templates/base.html # All pages should extend the base template
nest/templates/index.html # The landing page
nest/templates/article.html # Basis for all articles

Tasks

From the project root

Generation for Development

make html

Live Reload

make regenerate

Web Server with Live Reload

./develop_server.sh start # generate & run server
./develop_server.sh stop # stop backgrounded server
# or
make devserver

Publish to Github Pages

make github

Config Options

thegodsproject's People

Contributors

thegodsproject avatar tijptjik avatar

Watchers

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