云服务器购买链接
https://www.aliyun.com/daily-act/ecs/activity_selection?source=5176.11533457&userCode=3enjgk6n
2核2G内存 40G存储空间 99块一年
购买成功后配置linux系统的推文 生物信息学入门~购买99元1年的云服务器用于练习linux系统使用
配置成功后用root用户登录,安装nginx
apt install nginx
安装好以后得路径在 /etc/nginx/
安装miniconda
安装streamlit
pip install streamlit -i https://pypi.tuna.tsinghua.edu.cn/simple
参考视频教程
https://www.youtube.com/watch?v=BXAeMICmUSQ
这个视频教程对应的github主页
https://github.com/Sven-Bo/digital-resume-template-streamlit
https://pfpmaker.com/ 这个网站可以用来生成简历里头像
简历的页面
streamlit 的代码
import streamlit as st
from PIL import Image
from pathlib import Path
st.set_page_config(page_title="小明简历")
NAME = "小明"
profile_pic = Path.cwd() / "profile-pic.png"
profile_pic = Image.open(profile_pic)
col1, col2 = st.columns(2,gap="small")
with col1:
st.image(profile_pic,width=230)
with col2:
st.title(NAME)
st.write("邮件:xiaoming@126.com")
st.write("手机号:12345678910(微信同)")
st.write("出生年月:2000年1月1号")
st.write("政治面貌:群众")
st.write('\n')
st.subheader("教育背景")
st.write(
"""
- 2019年9月--2023年6月 D大学 D专业 博士
- 2016年9月--2019年6月 B大学 B专业 硕士
- 2012年9月--2016年6月 A大学 A专业 学士
"""
)
st.write('\n')
st.subheader("科研经历")
st.write(
"""
- AAA
"""
)
st.write('\n')
st.subheader("发表论文")
st.write(
"""
- 论文A
- 论文B
- 论文C
"""
)
st.write('\n')
st.subheader("获奖情况")
st.write(
"""
- 国家奖学金
- 最佳墙报
"""
)
st.write('\n')
st.subheader("科研技能")
st.write(
"""
- 编程(R/python/linux)
- 组学数据处理(基因组学/转录组学/群体基因组学)
- 组学数据处理流程搭建(snakemake)
- 网页搭建(streamlit/gradio)
"""
)
st.write('\n')
st.subheader("兴趣爱好")
st.write(
"""
- 篮球/网球
""")
把这个内容复制到一个文件里(server_name 后面的公网ip需要改成你自己的) 放到路径/etc/nginx/sites-enabled下
server {
listen 80;
server_name 121.41.23.94; # Change this to your domain name
location /xiaoming/ { # Change this if you'd like to server your Gradio app on a different path
proxy_pass http://127.0.0.1:8501/; # Change this if your Gradio app will be running on a different port
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
运行streamlit
/home/xiaoming/miniconda3/bin/streamlit run resume_app.py
打开网址就可以看到这个简历
http://121.41.23.94/xiaoming
如果有需要的话可以自己购买这个云服务器配置一下,或者也可以付费让我做(添加我的微信 mingyan24),直接放到我购买的这个服务器上
欢迎大家关注我的公众号
小明的数据分析笔记本
小明的数据分析笔记本 公众号 主要分享:1、R语言和python做数据分析和数据可视化的简单小例子;2、园艺植物相关转录组学、基因组学、群体遗传学文献阅读笔记;3、生物信息学入门学习资料及自己的学习笔记!

