Source code for my website.
25개 이상의 토픽을 선택하실 수 없습니다. 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
4 일 전
config Added image uploading and image compression 3 달 전
db Apply a patch from Dusan Malusev 3 달 전
middleware Added image uploading and image compression 3 달 전
models Remove json schemas from models as they aren't necessary 3 달 전
routes Changing the theme of the website 4 일 전
services Added image uploading and image compression 3 달 전
static Changing the theme of the website 4 일 전
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 4 일 전
.env.example Complete rewrite of the repository. 9 달 전
.gitignore Fixing a blog post title mishap 5 달 전
.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 4 일 전
ecosystem.config.js Add a pm2 ecosystem file 3 달 전
generate_certificate Add generate_certificates script 8 달 전
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 4 일 전
package.json Changing the theme of the website 4 일 전

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.