Skip to content
thopPublic
forked from lutzroeder/minimal

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Minimal

Minimal is a personal website and blog template for Go, Node.js and Python. 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.

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 and Python

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages