Source code for my website.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
1 tydzień temu
config Added image uploading and image compression 3 miesięcy temu
db Apply a patch from Dusan Malusev 4 miesięcy temu
middleware Added image uploading and image compression 3 miesięcy temu
models Remove json schemas from models as they aren't necessary 4 miesięcy temu
routes Changing the theme of the website 1 tydzień temu
services Added image uploading and image compression 3 miesięcy temu
static Changing the theme of the website 1 tydzień temu
utilities Added spam protection to the contact form. 3 miesięcy temu
validations Added spam protection to the contact form. 3 miesięcy temu
views Fixing a typo in the source code URL 1 tydzień temu
.env.example Complete rewrite of the repository. 9 miesięcy temu
.gitignore Fixing a blog post title mishap 6 miesięcy temu
.prettierrc Complete rewrite of the repository. 9 miesięcy temu
LICENSE Relicencing the project to AGPL, adding info route. 4 miesięcy temu
README.md Update README.md 4 miesięcy temu
app.js Changing the theme of the website 1 tydzień temu
ecosystem.config.js Add a pm2 ecosystem file 4 miesięcy temu
generate_certificate Add generate_certificates script 9 miesięcy temu
knexfile.js Complete rewrite of the repository. 9 miesięcy temu
nginx.conf Address an issue in nginx configuration. 4 miesięcy temu
package-lock.json Changing the theme of the website 1 tydzień temu
package.json Changing the theme of the website 1 tydzień temu

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.