Source code for my website.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
Dušan Mitrović 867f8d4173
Fixing a typo in the source code URL
pirms 3 mēnešiem
config Added image uploading and image compression pirms 6 mēnešiem
db Apply a patch from Dusan Malusev pirms 7 mēnešiem
middleware Added image uploading and image compression pirms 6 mēnešiem
models Remove json schemas from models as they aren't necessary pirms 7 mēnešiem
routes Changing the theme of the website pirms 3 mēnešiem
services Added image uploading and image compression pirms 6 mēnešiem
static Changing the theme of the website pirms 3 mēnešiem
utilities Added spam protection to the contact form. pirms 6 mēnešiem
validations Added spam protection to the contact form. pirms 6 mēnešiem
views Fixing a typo in the source code URL pirms 3 mēnešiem
.env.example Complete rewrite of the repository. pirms 1 gada
.gitignore Fixing a blog post title mishap pirms 9 mēnešiem
.prettierrc Complete rewrite of the repository. pirms 1 gada
LICENSE Relicencing the project to AGPL, adding info route. pirms 7 mēnešiem
README.md Update README.md pirms 7 mēnešiem
app.js Changing the theme of the website pirms 3 mēnešiem
ecosystem.config.js Add a pm2 ecosystem file pirms 7 mēnešiem
generate_certificate Add generate_certificates script pirms 1 gada
knexfile.js Complete rewrite of the repository. pirms 1 gada
nginx.conf Address an issue in nginx configuration. pirms 7 mēnešiem
package-lock.json Changing the theme of the website pirms 3 mēnešiem
package.json Changing the theme of the website pirms 3 mēnešiem

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.