Skip to content

A template for developing and designing websites with the Pistache framework

License

Notifications You must be signed in to change notification settings

Sudospective/pistache-web-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pistache Web Template

Created by Sudospective

What is this?

This is a template for creating websites in C++ using the Pistache framework.

Why the heck would I want that?

Well, maybe you wouldn't. I know I definitely do. I'm a very object oriented person, and have always disliked the rigidness of HTML/XML. I found the Pistache framework and was thrilled with the speed of it, but felt it lackluster to deal with strings of HTML code. So, I built this template to help make creating websites using this framework a bit easier.

How do I use it?

Firstly, make sure you have both the g++ compiler and the Pistache libraries installed. This works best with a Debian machine or WSL on Windows. Install the Pistache library package for Debian:

$ sudo apt install libpistache-dev

You can then compile the project using this command:

$ g++ src/main.cpp -o my-website -lpistache

From there, you can run the website locally:

$ ./my-website 8080

After that, navigate your browser to localhost:8080 to view the website.

About

A template for developing and designing websites with the Pistache framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published