Source code for my website.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
4 dagar sedan
config Added image uploading and image compression 3 månader sedan
db Apply a patch from Dusan Malusev 3 månader sedan
middleware Added image uploading and image compression 3 månader sedan
models Remove json schemas from models as they aren't necessary 3 månader sedan
routes Changing the theme of the website 4 dagar sedan
services Added image uploading and image compression 3 månader sedan
static Changing the theme of the website 4 dagar sedan
utilities Added spam protection to the contact form. 3 månader sedan
validations Added spam protection to the contact form. 3 månader sedan
views Fixing a typo in the source code URL 4 dagar sedan
.env.example Complete rewrite of the repository. 9 månader sedan
.gitignore Fixing a blog post title mishap 5 månader sedan
.prettierrc Complete rewrite of the repository. 9 månader sedan
LICENSE Relicencing the project to AGPL, adding info route. 4 månader sedan
README.md Update README.md 4 månader sedan
app.js Changing the theme of the website 4 dagar sedan
ecosystem.config.js Add a pm2 ecosystem file 3 månader sedan
generate_certificate Add generate_certificates script 8 månader sedan
knexfile.js Complete rewrite of the repository. 9 månader sedan
nginx.conf Address an issue in nginx configuration. 4 månader sedan
package-lock.json Changing the theme of the website 4 dagar sedan
package.json Changing the theme of the website 4 dagar sedan

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.