Flask apps are bound to port 5000 by default. To bind it to port 80, you would need to change the port as follows:
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=True)
And to run it:
/* | |
https://fullstack.pupilfirst.org | |
https://github.com/nseadlc-2020/package-todo-cli-task/tree/master/shared | |
*/ | |
const EOL = require('os').EOL | |
const fs = require('fs') | |
const PENDING_TODOS_FILE = 'todo.txt' | |
const COMPLETED_TODOS_FILE = 'done.txt' |
Flask apps are bound to port 5000 by default. To bind it to port 80, you would need to change the port as follows:
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=True)
And to run it:
How to have some fun using the terminal.
sudo apt-get install cowsay
sudo apt-get install fortune
sudo apt-get install figlet
ruby -v
gem install lolcat