11 lines
207 B
Bash
11 lines
207 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Initialize the database and run migrations
|
|
flask db upgrade
|
|
|
|
# Create necessary directories
|
|
mkdir -p static/uploads static/resurse
|
|
|
|
# Start the application
|
|
exec flask run --host=0.0.0.0 |