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ć 867f8d4173
Fixing a typo in the source code URL
преди 1 седмица
config Added image uploading and image compression преди 3 месеца
db Apply a patch from Dusan Malusev преди 4 месеца
middleware Added image uploading and image compression преди 3 месеца
models Remove json schemas from models as they aren't necessary преди 4 месеца
routes Changing the theme of the website преди 1 седмица
services Added image uploading and image compression преди 3 месеца
static Changing the theme of the website преди 1 седмица
utilities Added spam protection to the contact form. преди 3 месеца
validations Added spam protection to the contact form. преди 3 месеца
views Fixing a typo in the source code URL преди 1 седмица
.env.example Complete rewrite of the repository. преди 9 месеца
.gitignore Fixing a blog post title mishap преди 6 месеца
.prettierrc Complete rewrite of the repository. преди 9 месеца
LICENSE Relicencing the project to AGPL, adding info route. преди 4 месеца
README.md Update README.md преди 4 месеца
app.js Changing the theme of the website преди 1 седмица
ecosystem.config.js Add a pm2 ecosystem file преди 4 месеца
generate_certificate Add generate_certificates script преди 9 месеца
knexfile.js Complete rewrite of the repository. преди 9 месеца
nginx.conf Address an issue in nginx configuration. преди 4 месеца
package-lock.json Changing the theme of the website преди 1 седмица
package.json Changing the theme of the website преди 1 седмица

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.