Skip to content

A website for hosting articles.

Notifications You must be signed in to change notification settings

ritzow/news-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Article Hosting Website

A website that stores and displays "articles" to the user.

Project Structure

/news-site contains all website source code and assets.

/runner contains a Maven plugin for running modular Java applications, designed to run the news-site.

Software Used

For building, testing, and running. Follows standard build system structure. The build script requires a Java .properties file /news-site/project.properties with the following properties:

# Optional path to a PKCS #12 file
keystore = <path>
# Keystore password (used as password and keygen seed (NOT SECURE) for self-signed cert if keystore is absent)
password = <password>
# Human-readable organization name for self-signed cert
organization = <name>
#DNS name for the server used by self-signed cert, TLS, and other functionality
hostname = <domain>
#Website title text used in various places
title = <name>

To automatically build and run the server using Maven, in the root directory of the project run

mvn net.ritzow:runner:1.4-SNAPSHOT:run

For HTTP 1.1/2/3 web server functionality and utilities.

For dynamically generating all HTML served.

For article storage (currently in-memory).

For proper database functionality in application threads started by Jetty.

For parsing article Markdown and converting it to HTML.

Used by libraries for logging.

About

A website for hosting articles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published