/markus-morische-rechtsanwalt-website

Monorepo of website project for markusmorische.de build with Deno + Alosaur + Riba.js + Strapi

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

markus-morische-rechtsanwalt-website

Monorepo of website project for markusmorische.de build with Deno + Alosaur + Riba.js + Strapi.

Screenshot

Licence

This project is licensed under the AGPL license, except for the assets (logo, font, etc), which are private and the use of which is prohibited in all respects.

Submodules

This repository has submodules, so you need to clone this repository including this submodules:

git clone --recursive https://github.com/ArtCodeStudio/markus-morische-rechtsanwalt-website.git

You can also clone the submodules afterwards:

git clone https://github.com/ArtCodeStudio/markus-morische-rechtsanwalt-website.git
cd markus-morische-rechtsanwalt-website
git submodule update --init --recursive

If you want to pull updates from this repository you should also pull the submodules:

git pull --recurse-submodules

Backend

Tested with Deno v1.30.3, you can use DVM to switch between different Deno versions:

dvm install 1.30.3
dvm use 1.30.3

Start

cd backend
DENO_ENV=./.env.local deno run --allow-run scripts.ts start

Watch

cd backend
DENO_ENV=./.env.local deno run --allow-run scripts.ts watch

Strapi

Tested with Node.js v16, you can use NVM to switch between different Node.js versions:

nvm install 16
nvm use 16

Build

cd strapi
npm run build:local

Start

cd strapi
npm run start:local

Frontend

Uses Node.js and Yarn to build:

npm install --global yarn

Build

cd theme
yarn run build

Development

Generate OpenAPI file

deno run --allow-read --importmap=imports.json --allow-write --config tsconfig.json openapi.ts