Source code for my website.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
il y a 1 semaine
config Added image uploading and image compression il y a 3 mois
db Apply a patch from Dusan Malusev il y a 4 mois
middleware Added image uploading and image compression il y a 3 mois
models Remove json schemas from models as they aren't necessary il y a 4 mois
routes Changing the theme of the website il y a 1 semaine
services Added image uploading and image compression il y a 3 mois
static Changing the theme of the website il y a 1 semaine
utilities Added spam protection to the contact form. il y a 3 mois
validations Added spam protection to the contact form. il y a 3 mois
views Fixing a typo in the source code URL il y a 1 semaine
.env.example Complete rewrite of the repository. il y a 9 mois
.gitignore Fixing a blog post title mishap il y a 6 mois
.prettierrc Complete rewrite of the repository. il y a 9 mois
LICENSE Relicencing the project to AGPL, adding info route. il y a 4 mois
README.md Update README.md il y a 4 mois
app.js Changing the theme of the website il y a 1 semaine
ecosystem.config.js Add a pm2 ecosystem file il y a 4 mois
generate_certificate Add generate_certificates script il y a 9 mois
knexfile.js Complete rewrite of the repository. il y a 9 mois
nginx.conf Address an issue in nginx configuration. il y a 4 mois
package-lock.json Changing the theme of the website il y a 1 semaine
package.json Changing the theme of the website il y a 1 semaine

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.