Source code for my website.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
há 2 meses
config Added image uploading and image compression há 5 meses
db Apply a patch from Dusan Malusev há 6 meses
middleware Added image uploading and image compression há 5 meses
models Remove json schemas from models as they aren't necessary há 6 meses
routes Changing the theme of the website há 2 meses
services Added image uploading and image compression há 5 meses
static Changing the theme of the website há 2 meses
utilities Added spam protection to the contact form. há 5 meses
validations Added spam protection to the contact form. há 5 meses
views Fixing a typo in the source code URL há 2 meses
.env.example Complete rewrite of the repository. há 11 meses
.gitignore Fixing a blog post title mishap há 8 meses
.prettierrc Complete rewrite of the repository. há 11 meses
LICENSE Relicencing the project to AGPL, adding info route. há 6 meses
README.md Update README.md há 6 meses
app.js Changing the theme of the website há 2 meses
ecosystem.config.js Add a pm2 ecosystem file há 6 meses
generate_certificate Add generate_certificates script há 11 meses
knexfile.js Complete rewrite of the repository. há 11 meses
nginx.conf Address an issue in nginx configuration. há 6 meses
package-lock.json Changing the theme of the website há 2 meses
package.json Changing the theme of the website há 2 meses

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.