Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bc. Patrik Sakáč
ATvI2
Commits
97e8668a
Commit
97e8668a
authored
Jun 04, 2019
by
p
Browse files
update readme
parent
7d3bf9d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
api/README.md
View file @
97e8668a
###
Deploy to Azur
e
```
bash
./mvnw clean package azure-webapp:deploy
```
###
Setup databas
e
*
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
backend/README.md
View file @
97e8668a
### 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
...
...
backend/mssql_config.sql
View file @
97e8668a
CREATE
DATABASE
bank_robbery
;
USE
bank_robbery
;
CREATE
TABLE
[
data
]
(
id
INT
IDENTITY
(
1
,
1
)
NOT
NULL
,
timestamp
DATETIME
NULL
DEFAULT
GETDATE
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment