期待 ActionCable
主题,行情和 K 线图业务大量用到 Websocket
🎉
16 年的老照片~
强 👍
👍 亚飞牛逼
👍
先写博客系统再写博客
👍
🎉 🎉 🎉
🎉🎉🎉🎉🎉🎉🎉 🍺
👍
不错,几年前我也用 Rails 写自己的博客系统。 https://huangwenwei.com.
Simditor 也有 Markdown 插件 simditor-markdown
除了 Pow 还有另外一个:puma-dev
Puma-dev is the emotional successor to pow. It provides a quick and easy way to manage apps in development on OS X and Linux.
JWT
感谢楼上两位;
在 @zouqilin 的指导下,应该是 nohup 还没有把服务成功启动,SSH 就退出了。
解决方法为,sleep x seconds
on roles(:chasqui) do
execute "for i in $( ps ax | awk '/chasqui_start/ {print $1}' ); do kill ${i}; done"
execute "bash -l -c 'cd #{deploy_to}/current && (nohup rvm use 2.2.4 do ruby bin/chasqui_start 2>&1 &) && sleep 2 && ps -ef | grep chasqui_start' "
end
部署结果
...
INFO [4926e2d3] Running for i in $( ps ax | awk '/chasqui_start/ {print $1}' ); do kill ${i}; done as deploy@server_a_ip
DEBUG [4926e2d3] Command: for i in $( ps ax | awk '/chasqui_start/ {print $1}' ); do kill ${i}; done
INFO [3bf1335b] Running bash -l -c 'cd /home/deploy/project_name/current && (nohup rvm use 2.2.4 do ruby bin/chasqui_start 2>&1 &) && sleep 2 && ps -ef | grep chasqui_start' as deploy@server_a_ip
DEBUG [3bf1335b] Command: bash -l -c 'cd /home/deploy/project_name/current && (nohup rvm use 2.2.4 do ruby bin/chasqui_start 2>&1 &) && sleep 2 && ps -ef | grep chasqui_start'
DEBUG [3bf1335b] nohup: appending output to ‘nohup.out’
DEBUG [3bf1335b] deploy 12008 1 0 23:57 ? 00:00:00 ruby bin/chasqui_start
DEBUG [3bf1335b] deploy 15134 12310 3 23:59 pts/0 00:00:00 bash -l -c cd /home/deploy/project_name/current && (nohup rvm use 2.2.4 do ruby bin/chasqui_start 2>&1 &) && sleep 2 && ps -ef | grep chasqui_start
deploy 15235 1 10 23:59 pts/0 00:00:00 ruby bin/chasqui_start
deploy 15449 15134 0 23:59 pts/0 00:00:00 grep chasqui_start
INFO [3bf1335b] Finished in 2.248 seconds with exit status 0 (successful).
...
你的 Rails 版本是多少?
Rails 5 disables autoloading after booting the app in production
去挖这个项目的主要 contributors
猜测你这个应用不大,可以试试 Sinatra
累计回帖数量超过 100 条以上的会员可以提交创建
赞一个
大概看了一下 Authorization Adapter ,应该能做到。
options_for_select
第二个参数可以指定 selected
重新开发一套交易所吗 peatio
今天发现一个网站,最近更新还是比较频繁的 episodes
sidekiq-cron 另外一种选择。
避免巨无霸型的 css 和 js 文件
这个得尝试一下,在做的一个应用首屏加载资源超慢 ...
Ajax 最传统的做法。