Skip to content

alinossier/Minimal

 
 

Repository files navigation

Minimal

Minimal is a personal website and blog template for Go, Node.js, Python and .NET Core. It has no external dependencies and requires only a few hundred lines of server code to run. Everything is minimal, easy to take appart and rewrite.

Getting Started

To get started, fork this repository and create a local clone.

Modify ./app.json to your liking (symbol codes for social links can be found here).

To launch the web server locally run either of the following:

  • Install Node.js and run node app.js.
  • Install Go and run go run app.go.
  • Install Python and run python app.py.
  • Install .NET Core and run dotnet restore && dotnet run

Finally, navigate to http://localhost:8080 in your web browser to see the result.

Admin Script

./admin is a Bash script automating common tasks to run the website (on Windows use Git Bash or WLS).

The script can be configured via ./admin.cfg and provides two sets of commmands, one for local development and another for running the website on an actual Linux server.

For example, during local development ./admin start will launch the web server using the runtime configured via ./admin.cfg and navigate to http://localhost:8080 using the default web browser.

After cloning the repository at /var/www/${site} on an Ubuntu Linux production server run ./admin install and ./admin start to run the site as a systemd service via an NGINX reverse proxy.

About

Minimal personal website and blog for Go, Node.js, Python and .NET Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 23.7%
  • Go 17.8%
  • Shell 17.4%
  • JavaScript 17.0%
  • Python 15.6%
  • HTML 4.6%
  • CSS 3.9%