mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-11-12 16:03:50 +00:00
.. | ||
src | ||
static | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
package-lock.json | ||
package.json | ||
playwright.config.ts | ||
postcss.config.js | ||
README.md | ||
svelte.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
vite.config.ts |
About
This is a Webserver to host a Website on the same machine as the Matrix API. This allows users to access its functions and developers to implement new features and interfaces such as games as demos.
Installation
- Download repository with
git clone https://gitlab1.ptb.de/waltem01/Matrix.git
- Navigate to the Webserver directory with
cd Webserver/
- Install dependencies with
npm install
Development
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of the app:
npm run build
You can preview the production build with npm run preview
.
Running
- Navigate into the production environment with
cd build/
- Install dependencies with
npm ci --omit dev
- Start the production server with
node .