fix token

master
a2nr 2026-01-04 18:16:58 +07:00
parent fe0e36796a
commit 6535670cd3
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -5,6 +5,6 @@
echo "Stopping C Programming Learning Management System..."
# Stop and remove the container
podman stop lms-c-container && podman rm lms-c-container
podman-compose down
echo "Application has been stopped."
echo "Application has been stopped."