Commit 97e8668a authored by p's avatar p
Browse files

update readme

parent 7d3bf9d4
### Deploy to Azure
```bash
./mvnw clean package azure-webapp:deploy
```
### Setup database
* Run /backend/mssql_config.sql file in SQL Server
* Configure /api/src/main/resources/application.properties (username, password, port)
### Run project
```bash
# Play in Idea or in terminal
./mvnw clean package spring-boot:run
```
#### Swagger
```bash
http://localhost:8080/api/swagger-ui.html
https://bank-robbery-api.azurewebsites.net/swagger-ui.html
```
\ No newline at end of file
### Setup database
* Run /backend/mssql_config.sql file in SQL Server
* Configure /backend/utils.py (username, password, port)
### Initialize project
```bash
virtualenv -p python3 venv
......
CREATE DATABASE bank_robbery;
USE bank_robbery;
CREATE TABLE [data] (
id INT IDENTITY(1,1) NOT NULL,
timestamp DATETIME NULL DEFAULT GETDATE(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment