반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- Python
- array
- Kotlin
- hive
- numpy
- Google Spreadsheet
- Github
- Presto
- PySpark
- google apps script
- PANDAS
- Excel
- SQL
- GIT
- Tkinter
- gas
- 파이썬
- Redshift
- PostgreSQL
- matplotlib
- Apache
- dataframe
- string
- Java
- list
- django
- c#
- Google Excel
- math
Archives
- Today
- Total
목록Procfile (1)
달나라 노트
Heroku를 이용해서 Discord bot을 이용하다보면 동시에 여러 개의 Discord bot을 배포하고 싶을 때가 있습니다. 이런 경우 여러 개의 Discord bot 코드를 가진 python 파일을 적은 후 Procfile을 아래처럼 적으면 됩니다. Procfile test_bot_one: python test_bot_one.py test_bot_two: python test_bot_two.py Procfile에는 Discord bot 코드가 담긴 python파일을 실행시키는 command를 적는 곳입니다. 여기서 콜론(:)을 기준으로 왼쪽은 worker process의 이름입니다. 즉, 내가 원하는대로 정할 수 있는 것이죠. 그리고 콜론(:)을 기준으로 오른쪽은 python 파일을 실행시키는 c..
Python/Python ETC
2022. 2. 22. 20:05