This is a (very) simple Flask application that shows how the built-in Python buildpack detection on Cloud Foundry works.
To push to Cloud Foundry, log in and then use
$ cf push myapp-name
| // https://playtictactoe.org/ | |
| function playGame(){ | |
| var restart = document.querySelector("div.restart"); | |
| if(restart.style.display=="block"){ | |
| restart.click() | |
| }else{ | |
| var squares = document.querySelectorAll("div.square > div:not(.x):not(.o)"); | |
| var item=Math.floor(Math.random()*squares.length) |
This is a (very) simple Flask application that shows how the built-in Python buildpack detection on Cloud Foundry works.
To push to Cloud Foundry, log in and then use
$ cf push myapp-name