Source code for my website.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
vor 1 Woche
config Added image uploading and image compression vor 3 Monaten
db Apply a patch from Dusan Malusev vor 4 Monaten
middleware Added image uploading and image compression vor 3 Monaten
models Remove json schemas from models as they aren't necessary vor 4 Monaten
routes Changing the theme of the website vor 1 Woche
services Added image uploading and image compression vor 3 Monaten
static Changing the theme of the website vor 1 Woche
utilities Added spam protection to the contact form. vor 3 Monaten
validations Added spam protection to the contact form. vor 3 Monaten
views Fixing a typo in the source code URL vor 1 Woche
.env.example Complete rewrite of the repository. vor 9 Monaten
.gitignore Fixing a blog post title mishap vor 6 Monaten
.prettierrc Complete rewrite of the repository. vor 9 Monaten
LICENSE Relicencing the project to AGPL, adding info route. vor 4 Monaten
README.md Update README.md vor 4 Monaten
app.js Changing the theme of the website vor 1 Woche
ecosystem.config.js Add a pm2 ecosystem file vor 4 Monaten
generate_certificate Add generate_certificates script vor 9 Monaten
knexfile.js Complete rewrite of the repository. vor 9 Monaten
nginx.conf Address an issue in nginx configuration. vor 4 Monaten
package-lock.json Changing the theme of the website vor 1 Woche
package.json Changing the theme of the website vor 1 Woche

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.