wget http://mirror.racket-lang.org/installers/6.0.1/racket-6.0.1-i386-linux-debian-squeeze.sh
sh racket-6.0.1-i386-linux-debian-squeeze.sh
(安装路径选择/usr/local/racket)
export PATH=$PATH:/usr/local/racket/bin
echo 'export PATH=$PATH:/usr/local/racket/bin' >> /etc/profile
(这样,racket就装好了。其他系统,见这里:
http://download.racket-lang.org/)
raco pkg install pollen
这样pollen就装好了。
cd到某个静态网站的根目录,比如/usr/local/frog-site:
cd /usr/local/frog-site
root@AR:/usr/local/frog-site# ls
About.html blog feeds index-2.html js tags
_src css img index.html sitemap.txt
root@AR:/usr/local/frog-site# raco pollen start . 34563 > /dev/null &
访问http://bright.biz.st:34563,即可看到静态网站的效果。
项目地址:https://github.com/mbutterick/pollen
http://docs.racket-lang.org/pollen/quick-tour.html
http://docs.racket-lang.org/pollen/first-tutorial.html (5.4.1和5.4.2部分)
pollen还是一个电子书(静态网站)生成器,演示网站:http://practicaltypography.com/
相关帖子:http://briteming.blogspot.com/2014/05/linux-vpsracket-frog.html
sh racket-6.0.1-i386-linux-debian-squeeze.sh
(安装路径选择/usr/local/racket)
export PATH=$PATH:/usr/local/racket/bin
echo 'export PATH=$PATH:/usr/local/racket/bin' >> /etc/profile
(这样,racket就装好了。其他系统,见这里:
http://download.racket-lang.org/)
raco pkg install pollen
这样pollen就装好了。
cd到某个静态网站的根目录,比如/usr/local/frog-site:
cd /usr/local/frog-site
root@AR:/usr/local/frog-site# ls
About.html blog feeds index-2.html js tags
_src css img index.html sitemap.txt
root@AR:/usr/local/frog-site# raco pollen start . 34563 > /dev/null &
访问http://bright.biz.st:34563,即可看到静态网站的效果。
项目地址:https://github.com/mbutterick/pollen
http://docs.racket-lang.org/pollen/quick-tour.html
http://docs.racket-lang.org/pollen/first-tutorial.html (5.4.1和5.4.2部分)
pollen还是一个电子书(静态网站)生成器,演示网站:http://practicaltypography.com/
相关帖子:http://briteming.blogspot.com/2014/05/linux-vpsracket-frog.html
No comments:
Post a Comment