apt get install python3 python3-pip python3-setuptools -y
pip3 install virtualenv
virtualenv dev
cd dev
source bin/activate
cd /usr/local
git clone https://github.com/recitale/recitale
cd recitale
pip3 install -r requirements.txt
python3 setup.py install (这样,即可成功安装recitale)
cd example
apt-get install -y ffmpeg
recitale build (此即生成/更新静态网站的根目录的命令。会在当前目录下,生成build目录)
cd build
python3 -m http.server 1234
访问vps-public-ip:1234
项目地址:https://github.com/recitale/recitale/
https://recitale.readthedocs.io/en/latest/install.html
https://recitale.readthedocs.io/en/latest/configuration.html
演示网站:
https://surleschemins.fr/
配置繁琐,不建议使用。
No comments:
Post a Comment