Source code for my website.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
hace 4 días
config Added image uploading and image compression hace 3 meses
db Apply a patch from Dusan Malusev hace 3 meses
middleware Added image uploading and image compression hace 3 meses
models Remove json schemas from models as they aren't necessary hace 3 meses
routes Changing the theme of the website hace 4 días
services Added image uploading and image compression hace 3 meses
static Changing the theme of the website hace 4 días
utilities Added spam protection to the contact form. hace 3 meses
validations Added spam protection to the contact form. hace 3 meses
views Fixing a typo in the source code URL hace 4 días
.env.example Complete rewrite of the repository. hace 9 meses
.gitignore Fixing a blog post title mishap hace 5 meses
.prettierrc Complete rewrite of the repository. hace 9 meses
LICENSE Relicencing the project to AGPL, adding info route. hace 3 meses
README.md Update README.md hace 3 meses
app.js Changing the theme of the website hace 4 días
ecosystem.config.js Add a pm2 ecosystem file hace 3 meses
generate_certificate Add generate_certificates script hace 8 meses
knexfile.js Complete rewrite of the repository. hace 9 meses
nginx.conf Address an issue in nginx configuration. hace 4 meses
package-lock.json Changing the theme of the website hace 4 días
package.json Changing the theme of the website hace 4 días

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.