2021-01-26 18:35:17 +01:00
|
|
|
# Wulkanowy-web
|
|
|
|
🌋 Unofficial browser VULCAN UONET+ client for both students and their parents
|
|
|
|
|
|
|
|
![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-web/workflows/Python%20application/badge.svg)
|
|
|
|
[![Discord](https://img.shields.io/discord/390889354199040011.svg?color=#33CD56)](https://discord.gg/vccAQBr)
|
|
|
|
|
|
|
|
# Development
|
|
|
|
## 1. Install dependencies.
|
|
|
|
```shell
|
|
|
|
pip install -r requirements.txt
|
|
|
|
```
|
|
|
|
And in frontend:
|
|
|
|
```shell
|
|
|
|
npm install
|
|
|
|
```
|
2021-01-28 20:48:04 +01:00
|
|
|
## 2. Make migrations
|
2021-01-26 18:35:17 +01:00
|
|
|
```shell
|
|
|
|
python manage.py makemigrations
|
|
|
|
python manage.py migrate
|
|
|
|
```
|
|
|
|
## 3. Start the server!
|
|
|
|
```shell
|
|
|
|
python manage.py runserver
|
|
|
|
```
|
2021-02-05 13:18:25 +01:00
|
|
|
And in frontend:
|
2021-01-26 18:35:17 +01:00
|
|
|
```shell
|
2021-02-05 13:18:25 +01:00
|
|
|
npm run dev
|
2021-01-26 18:55:57 +01:00
|
|
|
```
|
2021-04-07 10:04:54 +02:00
|
|
|
|
|
|
|
# Docker
|
|
|
|
## With docker compose
|
|
|
|
```shell
|
|
|
|
docker-compose up -d
|
|
|
|
```
|
|
|
|
## Without docker compose
|
|
|
|
```shell
|
|
|
|
docker build -t wulkanowy/web .
|
|
|
|
docker run -d -p 8000:8000 wulkanowy/web
|