fix token
parent
fe0e36796a
commit
6535670cd3
|
|
@ -9,7 +9,7 @@ services:
|
|||
- ../content:/app/content
|
||||
- ./static:/app/static
|
||||
- ./templates:/app/templates
|
||||
- ./tokens.csv:/app/tokens.csv
|
||||
- ../tokens_siswa.csv:/app/tokens.csv
|
||||
environment:
|
||||
- FLASK_ENV=development
|
||||
command: python app.py
|
||||
command: python app.py
|
||||
|
|
|
|||
4
start.sh
4
start.sh
|
|
@ -17,8 +17,8 @@ if [ "$(podman ps -aq -f name=lms-c-container)" ]; then
|
|||
else
|
||||
# Build and run the container
|
||||
echo "Building and starting container..."
|
||||
podman build -t lms-c . && podman run -d -p 5000:5000 --name lms-c-container -v ../content:/app/content -v ./static:/app/static -v ./templates:/app/templates -v ./tokens.csv:/app/tokens.csv lms-c
|
||||
podman-compose up --build -d
|
||||
fi
|
||||
|
||||
echo "Application is now running. Access at http://localhost:5000"
|
||||
echo "To stop the application, run: ./stop.sh"
|
||||
echo "To stop the application, run: ./stop.sh"
|
||||
|
|
|
|||
Loading…
Reference in New Issue