이미지

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
Project API에서 ENABLE APIS AND SERVICES 버튼을 클릭한다.


manage 버튼을 클릭한다.
CREATE CREDENTIALS클릭)
NEXT 버튼을 클릭한다.
Service account ID 작성 후, CREATE AND CONTINUE 버튼을 클릭한다.
CONTINUE 버튼을 클릭한다.
Done 버튼을 클릭한다.
Service Accounts - [우측] Manage keys 버튼 클릭
Create new key 버튼 클릭


Github Repo를 생성하고, 로컬로 다운로드 받는다.
.streamlit 폴더를 생성하고, secrets.toml 파일을 생성하여 아래와 같이 작성한다.1 | # .streamlit/secrets.toml |
.gitignore 에 등록한 후, Github Repo에 등록을 해둬야 한다.secrets.toml 파일을 아래와 같이 수정한다.
1 | $ virtualenv venv |
requirements.txt 파일로 내보낸다.1 | (venv) $ pip freeze > requirements.txt |
[app.py](http://app.py) 를 설치한다.sample datasets 를 사용했다.
1 | # streamlit_app.py |
1 | (venv) $ streamlit run app.py |


Advanced Settings 를 클릭한다.Secrets 에 해당 secrets.toml 코드를 복사하여 붙여넣는다.
Deploy 버튼을 클릭한다.