Source code for my website.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
1 месяц назад
config Formatted the entire project with prettier 1 месяц назад
db Formatted the entire project with prettier 1 месяц назад
middleware Formatted the entire project with prettier 1 месяц назад
models Formatted the entire project with prettier 1 месяц назад
routes Formatted the entire project with prettier 1 месяц назад
services Formatted the entire project with prettier 1 месяц назад
static Formatted the entire project with prettier 1 месяц назад
utilities Formatted the entire project with prettier 1 месяц назад
validations Formatted the entire project with prettier 1 месяц назад
views Formatted the entire project with prettier 1 месяц назад
.env.example Refactoring SSL configuration, among other things 1 месяц назад
.gitignore Add .vscode/ to .gitignore 1 месяц назад
.prettierrc Complete rewrite of the repository. 1 год назад
LICENSE Relicencing the project to AGPL, adding info route. 9 месяцев назад
README.md Update README.md 9 месяцев назад
app.js Refactoring SSL configuration, among other things 1 месяц назад
ecosystem.config.js Formatted the entire project with prettier 1 месяц назад
generate_certificate Add generate_certificates script 1 год назад
knexfile.js Formatted the entire project with prettier 1 месяц назад
nginx.conf Add security headers to nginx configuration 1 месяц назад
package-lock.json Formatted the entire project with prettier 1 месяц назад
package.json Formatted the entire project with prettier 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.