Coder Social home page Coder Social logo

Codeholics Static Pelican Site

Codeholics.com static site generated with Pelican

Website Status UptimeRobot Monitor Github Repo Size mozilla-observatory W3C Validation libraries.io Dependencies

Clone Projects

# clone main project
git clone [email protected]:Codeholics/codeholics.git

# clone pelican plugins
git clone [email protected]:Codeholics/pelican-plugins.git

Docker Setup

If you use Docker, otherwise follow the manual process

Build Docker Image

docker-compose -f docker/docker-compose.yml build

Run Docker Container

docker-compose -f docker/docker-compose.yml up

Manual Setup

Install pip

python -m pip install

Install Venv

pip install venv

Setup Venv

You should create this under the root project folder. If you're using GitHub, make sure to exclude this directory in your gitignore file. It's also best practice to CD C:\Code\codeholics into the directory before running this command. This will create the directory C:\Code\codeholics\venvu

python -m venv C:\Code\codeholics

Activate Venvu Enviornment

`C:\Code\codeholics\venv\Scripts\Activate.ps1`

Install Python Requirements:

cd codeholics
pip install -r requirements.txt

Build Site

This step will build the site so you can view it with the dev server.

Content C:\Code\codeholics\Content is where all of your markdown documents are stored.

Output C:\Code\codeholics\output is where the final html version will be saved to.

pelican C:\Code\codeholics\Content

Run Dev Server

Start the dev server

pelican --listen # creates a server on port 8080

By default you should now see a message in the console

Server site at: http://127.0.0.1:8000


Update Site Dependencies

This will generate the requirements.txt from the requirements.in file

pip install pip-tools
pip-compile --update

Directory Structure

- codeholics
  - .github
  - content
  - docker
  - include
  - output
  - themes
  - venv

Resources

Codeholics's Projects

archive_recovery icon archive_recovery

Script used to parse html posts and insert them into a wordpress database

ipchecker icon ipchecker

This script will check your public IP and see if it was the same from its last check. If it is not the same it will send you the new IP address via email or SCP

us-mass-shootings icon us-mass-shootings

Mother Jones Mass Shooter Database 1982-2023 Cleaned and Scrubbed to create the Codeholics - Mass Shooter Database 1982-2023.

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.