wulkanowy-web/README.md
SaviPrograms 61f06fcb57
Messed up installation order in README.md (#67)
* Kolejność instalacji w README.md

Przemieszczenie instalacji npm z głównego folderu (niezawierającego packckage.json) do folderu frontend, posiadającego ten plik

* README.md missing npm installation prefix
2021-06-07 10:20:44 +02:00

51 lines
904 B
Markdown

# 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
pip install -r requirements.txt
npm i --prefix frontend
```
## 2. Make migrations
```sh
python manage.py makemigrations
python manage.py migrate
```
## 3. Start the server
```sh
python manage.py runserver
```
And in frontend:
```shell
cd frontend
npm run build
```
# 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
```