Add CuituNet Intra customer management CMS
Password-protected intranet for managing fiber internet customers: - Customer table (company, address, speed, price) - Click row to view full details (contact & billing info) - Add, edit, delete customers - Search and sortable columns - Total billing summary - PHP + vanilla JS + JSON storage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
server.py
Normal file
21
server.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
PORT = 3001
|
||||
|
||||
def main():
|
||||
print(f"CuituNet Intra käynnistyy osoitteessa http://localhost:{PORT}")
|
||||
try:
|
||||
subprocess.run(
|
||||
["php", "-S", f"localhost:{PORT}"],
|
||||
check=True
|
||||
)
|
||||
except KeyboardInterrupt:
|
||||
print("\nSammutettiin.")
|
||||
except FileNotFoundError:
|
||||
print("PHP ei löydy. Asenna PHP ensin.")
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user