# zeroblog **Repository Path**: i6bu6/zeroblog ## Basic Information - **Project Name**: zeroblog - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-28 - **Last Updated**: 2022-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 博客和导航页 ## 安装依赖包 ``` pip install -r requestments.txt ``` ## 初始化 管理员: admin 123456 ``` sh init.sh ``` ## 上线 ### 收集静态文件到 static_root ``` python manage.py collectstatic ``` ### 启动 ``` pip3 install uswgi cp -r oms.service /lib/systemd/system/ systemctl start oms systemctl enable oms ``` ### 配置nginx ``` cp oms_nginx.conf /etc/nginx/conf.d/ nginx -s reload ``` 之后就通过配置的域名访问