Source code for my website.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
Dušan Mitrović a8cb8943cb
Formatted the entire project with prettier
il y a 1 mois
config Formatted the entire project with prettier il y a 1 mois
db Formatted the entire project with prettier il y a 1 mois
middleware Formatted the entire project with prettier il y a 1 mois
models Formatted the entire project with prettier il y a 1 mois
routes Formatted the entire project with prettier il y a 1 mois
services Formatted the entire project with prettier il y a 1 mois
static Formatted the entire project with prettier il y a 1 mois
utilities Formatted the entire project with prettier il y a 1 mois
validations Formatted the entire project with prettier il y a 1 mois
views Formatted the entire project with prettier il y a 1 mois
.env.example Refactoring SSL configuration, among other things il y a 1 mois
.gitignore Add .vscode/ to .gitignore il y a 1 mois
.prettierrc Complete rewrite of the repository. il y a 1 an
LICENSE Relicencing the project to AGPL, adding info route. il y a 9 mois
README.md Update README.md il y a 9 mois
app.js Refactoring SSL configuration, among other things il y a 1 mois
ecosystem.config.js Formatted the entire project with prettier il y a 1 mois
generate_certificate Add generate_certificates script il y a 1 an
knexfile.js Formatted the entire project with prettier il y a 1 mois
nginx.conf Add security headers to nginx configuration il y a 1 mois
package-lock.json Formatted the entire project with prettier il y a 1 mois
package.json Formatted the entire project with prettier il y a 1 mois

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.