dev #1
17
Makefile
17
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: dev serve lint fmt build publish help
|
.PHONY: dev serve lint fmt build publish deploy logs status help
|
||||||
|
|
||||||
# Development server with auto-reload
|
# Development server with auto-reload
|
||||||
dev:
|
dev:
|
||||||
@ -26,6 +26,18 @@ build:
|
|||||||
publish: build
|
publish: build
|
||||||
uv publish
|
uv publish
|
||||||
|
|
||||||
|
# Deploy to Fly.io
|
||||||
|
deploy:
|
||||||
|
fly deploy -a chess-pressure
|
||||||
|
|
||||||
|
# Tail production logs
|
||||||
|
logs:
|
||||||
|
fly logs -a chess-pressure
|
||||||
|
|
||||||
|
# Production status
|
||||||
|
status:
|
||||||
|
fly status -a chess-pressure
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "chess-pressure"
|
@echo "chess-pressure"
|
||||||
@echo ""
|
@echo ""
|
||||||
@ -35,3 +47,6 @@ help:
|
|||||||
@echo " make fmt ruff format + auto-fix"
|
@echo " make fmt ruff format + auto-fix"
|
||||||
@echo " make build build sdist + wheel"
|
@echo " make build build sdist + wheel"
|
||||||
@echo " make publish build + publish to PyPI"
|
@echo " make publish build + publish to PyPI"
|
||||||
|
@echo " make deploy deploy to Fly.io"
|
||||||
|
@echo " make logs tail production logs"
|
||||||
|
@echo " make status Fly.io app status"
|
||||||
|
|||||||
@ -102,6 +102,10 @@
|
|||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a href="https://github.com/mindthemath/chess-pressure">source</a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
||||||
<script src="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.js"></script>
|
<script src="https://unpkg.com/@chrisoakman/chessboardjs@1.0.0/dist/chessboard-1.0.0.min.js"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/chess.js/0.10.3/chess.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/chess.js/0.10.3/chess.min.js"></script>
|
||||||
|
|||||||
@ -328,6 +328,18 @@ dialog textarea {
|
|||||||
}
|
}
|
||||||
.dialog-buttons button:hover { background: var(--move-active); }
|
.dialog-buttons button:hover { background: var(--move-active); }
|
||||||
|
|
||||||
|
/* --- Footer --- */
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
padding: 1rem 0;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
}
|
||||||
|
footer a {
|
||||||
|
color: var(--fg2);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
footer a:hover { text-decoration: underline; }
|
||||||
|
|
||||||
/* --- Mobile --- */
|
/* --- Mobile --- */
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
main {
|
main {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user