Within minutes, you should be emailed the IP address and root user password to your server. ![]() You can setup SSH keys, backups, and other things if you like, but this isn't necessary. Next, just pick a region, change host name to something more appropriate for your project, and that's all you need. You can resize later quickly and easily, so just go with whatever you think you need right now. I will go with the smallest server available, since this is merely a simple setup demonstration. If you are using Digital Ocean, create a server (big green "create") button in the top right, choosing "droplet." Since 18.04 isn't quite yet out, I am going with Ubuntu 16.04. To begin, you need your VPS and your sudoer account. A special thanks to Daniel Kukiela for helping with this writeup. The point of being able to setup Flask yourself is so that you can run it from any full-service hosting provider that you want to. For $10 in credit to start with them, you can use my referral code, but you can use any VPS provider that you'd like. For the purposes of this tutorial, I will be using Digital Ocean. Hello and welcome to a tutorial for setting up Flask with Python 3 on a VPS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |