2021-09-06 12:09:05 +02:00
|
|
|
# Wulkanowy Web
|
|
|
|
|
|
|
|
🌋 Unofficial VULCAN UONET+ browser client for students and their parents
|
|
|
|
|
|
|
|
![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-web/workflows/Python%20application/badge.svg)
|
|
|
|
|
|
|
|
## Join our Discord server!
|
|
|
|
|
|
|
|
[![Discord](https://discordapp.com/api/guilds/390889354199040011/widget.png?style=banner2)](https://discord.com/invite/vccAQBr)
|
|
|
|
|
|
|
|
# Development
|
|
|
|
|
|
|
|
## 1. Install dependencies
|
|
|
|
|
|
|
|
```sh
|
2022-05-22 21:00:45 +02:00
|
|
|
cd backend
|
2021-09-06 12:09:05 +02:00
|
|
|
pip install -r requirements.txt
|
2022-02-02 09:39:04 +01:00
|
|
|
```
|
|
|
|
And in frontend:
|
|
|
|
```sh
|
|
|
|
cd frontend
|
|
|
|
npm install
|
2021-09-06 12:09:05 +02:00
|
|
|
```
|
2022-05-22 21:00:45 +02:00
|
|
|
## 2. Start the server
|
2021-09-06 12:09:05 +02:00
|
|
|
|
|
|
|
```sh
|
2022-05-22 21:00:45 +02:00
|
|
|
cd backend
|
|
|
|
py -m main
|
2021-09-06 12:09:05 +02:00
|
|
|
```
|
|
|
|
And in frontend:
|
2022-02-02 09:39:04 +01:00
|
|
|
```sh
|
2021-09-06 12:09:05 +02:00
|
|
|
cd frontend
|
2022-05-22 21:00:45 +02:00
|
|
|
npm run serve
|
2021-09-06 12:09:05 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
# Docker
|
|
|
|
|
|
|
|
With docker compose
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
Without docker compose
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker build -t wulkanowy/web .
|
|
|
|
docker run -d -p 8000:8000 wulkanowy/web
|
|
|
|
```
|