Source code for my website.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
Dušan Mitrović 6282515a96
Add a pm2 ecosystem file
9 mesi fa
config Adding searching for posts by date and slug instead of by id. 9 mesi fa
db Apply a patch from Dusan Malusev 9 mesi fa
middleware Relicencing the project to AGPL, adding info route. 9 mesi fa
models Relicencing the project to AGPL, adding info route. 9 mesi fa
routes Added openring integration. 9 mesi fa
services Adding searching for posts by date and slug instead of by id. 9 mesi fa
static Added openring integration. 9 mesi fa
utilities Relicencing the project to AGPL, adding info route. 9 mesi fa
validations Relicencing the project to AGPL, adding info route. 9 mesi fa
views Added openring integration. 9 mesi fa
.env.example Complete rewrite of the repository. 1 anno fa
.gitignore Fixing a blog post title mishap 11 mesi fa
.prettierrc Complete rewrite of the repository. 1 anno fa
LICENSE Relicencing the project to AGPL, adding info route. 9 mesi fa
README.md Update README.md 9 mesi fa
app.js Relicencing the project to AGPL, adding info route. 9 mesi fa
ecosystem.config.js Add a pm2 ecosystem file 9 mesi fa
generate_certificate Add generate_certificates script 1 anno fa
knexfile.js Complete rewrite of the repository. 1 anno fa
nginx.conf Address an issue in nginx configuration. 9 mesi fa
package-lock.json Adding searching for posts by date and slug instead of by id. 9 mesi fa
package.json Adding searching for posts by date and slug instead of by id. 9 mesi fa

README.md

dusanmitrovic.xyz

Source code for my website.

Table of contents

Dependencies

  • Node >=v12
  • npm >=v6
  • MariaDB
  • Redis
  • Nginx (configuration provided)
  • knex-cli

Configuration

Generate a self-signed SSL certificate for local development

./generate_certificate

Create a copy of the included .env.example file and fill it with relevant information.

cp .env.example .env

Install application dependencies

  1. npm install
  2. sudo npm install -g knex

Run migrations

knex migrate:latest

Run seeds

knex seed:run

Run the development server

npm run dev

Licensing

All source code written for this website is licensed under the terms of GNU AGPLv3.

All content on this website is licensed under the terms of CC-BY-SA.