上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页
  2017年10月29日
摘要: underfined method for has_attched_file when installing paperclip 解决 create the file paperclip.rb inside the config/initializers/paperclip.rb Add the b 阅读全文
posted @ 2017-10-29 11:30 c3tc3tc3t 阅读(194) 评论(0) 推荐(0)
  2017年10月17日
摘要: centos 6 vps初始化部署rails应用1 ssh登录 vpsssh -p port root@server_ip_address 2 添加用户 adduser usernamepasswd username 3将用户添加到wheel组,得到sudo权限 vi /etc/sudoers 将% 阅读全文
posted @ 2017-10-17 23:43 c3tc3tc3t 阅读(245) 评论(0) 推荐(0)
  2017年10月16日
摘要: 参考 https://blog.longwin.com.tw/2005/12/ssh_keygen_no_passwd/ 1 选择搬瓦工左边菜单栏中的“Root password modification”,然后“Generate and set new root password”,重置前请先把V 阅读全文
posted @ 2017-10-16 01:13 c3tc3tc3t 阅读(251) 评论(0) 推荐(0)
  2017年10月13日
摘要: groovy程序设计cucumber行为驱动开发vim实用技巧微服务架构与实践图解httphttp权威指南js忍者秘籍单页web应用clojure程序设计tcp sockets编程深入浅出nodeeffective rubygoweb编程git权威指南ext江湖php编程手册深入浅出Phonegap 阅读全文
posted @ 2017-10-13 14:52 c3tc3tc3t 阅读(145) 评论(0) 推荐(0)
  2017年10月5日
摘要: 由于Linux min 18.2仓库中的erlnag是18.2,我们手动安装最新版本,参考 https://www.erlang-solutions.com/resources/download.html 1 你需要创建一个 /etc/apt/sources.list 文件并填入下面 2 添加公钥 阅读全文
posted @ 2017-10-05 00:25 c3tc3tc3t 阅读(233) 评论(0) 推荐(0)
  2017年9月24日
摘要: https://stackoverflow.com/questions/12200215/bunder-what-does-require-nil-in-gemfile-mean Require nil or false means that bundler will not load (requi 阅读全文
posted @ 2017-09-24 14:14 c3tc3tc3t 阅读(199) 评论(0) 推荐(0)
  2017年9月23日
摘要: 原文 https://thewebjuice.com/es6-arrows/ 1 使用es6箭头定义匿名函数 es5 2 单个参数和多个参数 es5 3定义闭包 es5 4 Literal Syntax es5 阅读全文
posted @ 2017-09-23 08:57 c3tc3tc3t 阅读(176) 评论(0) 推荐(0)
  2017年9月22日
摘要: 1 先执行如下 heroku run rake db:migrate 阅读全文
posted @ 2017-09-22 13:08 c3tc3tc3t 阅读(201) 评论(0) 推荐(0)
摘要: 登录 sudo su - postgres psql 1 创建Postgresql新用户,devpg是用户名,密码也是devpg, 不是超级管理员,拥有创建数据库权限,登录权限,继承拥有角色权限 2 \du查看 3 配置rails config/database.yml ,注意host属性和port 阅读全文
posted @ 2017-09-22 11:35 c3tc3tc3t 阅读(348) 评论(0) 推荐(0)
摘要: https://www.postgresql.org/download/linux/ubuntu/ 1 check Xenial16.04 2 创建文件 /etc/apt/sources.list.d/pgdg.list 添加 deb http://apt.postgresql.org/pub/re 阅读全文
posted @ 2017-09-22 00:51 c3tc3tc3t 阅读(293) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页