Source code for my website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Dušan Mitrović 4c54db427b
Apply a patch from Dusan Malusev
10 months ago
config Added slug to posts migration 10 months ago
db Apply a patch from Dusan Malusev 10 months ago
middleware Relicencing the project to AGPL, adding info route. 10 months ago
models Relicencing the project to AGPL, adding info route. 10 months ago
routes Apply a patch from Dusan Malusev 10 months ago
services Apply a patch from Dusan Malusev 10 months ago
static Slight image css improvement on blog posts. 10 months ago
utilities Relicencing the project to AGPL, adding info route. 10 months ago
validations Relicencing the project to AGPL, adding info route. 10 months ago
views Apply a patch from Dusan Malusev 10 months ago
.env.example Complete rewrite of the repository. 1 year ago
.gitignore Fixing a blog post title mishap 1 year ago
.prettierrc Complete rewrite of the repository. 1 year ago
LICENSE Relicencing the project to AGPL, adding info route. 10 months ago
README.md Update README.md 10 months ago
app.js Relicencing the project to AGPL, adding info route. 10 months ago
generate_certificate Add generate_certificates script 1 year ago
knexfile.js Complete rewrite of the repository. 1 year ago
nginx.conf Address an issue in nginx configuration. 10 months ago
package-lock.json Apply a patch from Dusan Malusev 10 months ago
package.json Relicencing the project to AGPL, adding info route. 10 months ago

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.