Chinaunix首页 | 论坛 | 博客
  • 博客访问: 677669
  • 博文数量: 180
  • 博客积分: 5851
  • 博客等级: 大校
  • 技术积分: 1946
  • 用 户 组: 普通用户
  • 注册时间: 2005-01-22 22:11
文章分类

全部博文(180)

文章存档

2021年(1)

2019年(2)

2018年(13)

2017年(8)

2016年(1)

2015年(11)

2014年(8)

2012年(18)

2011年(8)

2010年(7)

2009年(10)

2008年(20)

2007年(17)

2006年(39)

2005年(17)

我的朋友

分类: 系统运维

2015-06-19 01:31:04

Thanks for Scalingo!

How to deploy scalingo with meteorjs (or else) on ubuntu.

  1. Install scalingo cli

    $curl -O && sh install

    here is -O not -0...emmm....

  2. Config Basic Environment:(all operation would effect on the Remote Server of Scalingo)

    $scalingo create my-new-app-name

    $scalingo -a my-new-app-name keys-add "default" $HOME/.ssh/id_rsa.pub

    more configs refer to 

  3. Upload your app

    $cd my-app-directory

    $git remote add scalingo git@scalingo.com:my-app-name.git

    $git add .

    $git commit -m "first commit"

    $git push scalingo master

    OK,if no error,access your app at :

How to backup Mongodb Database

Export Database

$mongodump -h id.mongolab.com:61767 -d username -u USR -p PASSWORD -o OutputDirectory

Import Database

$mongorestore -h id.mongolab.com:61767 -d username -u USR -p PASSWORD -o InputDirectory

阅读(530) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~