I started qiita for the time being. Audience consciousness is low instead of memo. An amateur ordinary person. First of all, it is the level that I wanted to use qiita. Excuse me. windows environment.
https://devcenter.heroku.com/categories/python-support I will start from here. It's all in English. I don't care.
"Heroku makes it easy to deploy and scale Python apps. Whether you prefer frameworks like Django or Flask, or getting your hands dirty with Twisted or raw sockets, Heroku helps you build things your way with the tools you love."
heroku makes it easy to deploy and scale your python app. Whether you prefer frameworks like django or flask, or handwriting with Twisted or raw sockets, heroku will help you. And.
Well press get started.
For the time being, take a heroku account and Put python You should add postgres.
I got an account right away. I put python in Anaconda before, so it's through. Please include those who have not. I think it's probably easier to stick with anaconda than to do it the way you're instructed. It takes a little time only at the beginning.
You can put postgres if you do as it is said.
This should be noted
Input of environment variables. After inscoring postgres, if you do path in the search window of windows, you can adjust the environment variables. Add a new one. In my case, it looks like the bottom of the image. Usually it's C drive. The variable name can be anything, so don't make a mistake in the value. I hate this kind of work, so I want to use the cloud.
Next, insert the GIT CLI.
Just rub it normally. If you don't understand what GIT is, I think it's a good idea to go through it a little. I don't really understand.
Maybe this is the end of the insuko. Is it confirmation work after that?
Next, if you command in the search window of windows, a prompt will appear, so you can use it, but you need to have pip installed during the insco process of python. If it is anaconda, if you use anaconda prompt, it will do all that, so you should use that.
there
Just depress the command in the black frame.
The git file is downloaded from github and moved to the python-getting-started folder.
Next, heroku create and depression will start some work. If you get an error that you need to log in on the way, press any key to open the browser, log in, and then restart.
next git push heroku master depression.
I will proceed with that feeling, so please do your best. If you come to this point, the rest should be manageable. If possible, I think it's best to proceed while understanding the contents properly. Because it is a tutorial.
Recommended Posts