Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 17 14:29
    jeanbmar commented #292
  • Oct 17 12:02
    gregberge commented #292
  • Oct 15 11:15
    gregberge commented #292
  • Oct 15 10:31
    jeanbmar opened #292
  • Oct 15 10:21
    jeanbmar commented #288
  • Sep 26 23:52
    skjsdev07 opened #291
  • Sep 03 19:03
    yousufkalim opened #290
  • Aug 26 18:13
    JJ commented #288
  • Aug 15 07:35
    lukasoppermann closed #275
  • Aug 15 07:35
    lukasoppermann closed #276
  • Aug 15 07:35
    lukasoppermann closed #277
  • Jul 22 01:23
    MatthijsReyers commented #286
  • Jul 22 01:14
    MatthijsReyers commented #286
  • Jul 22 01:13
    MatthijsReyers commented #286
  • Jul 13 09:32
    VishalTaj commented #283
  • Jul 11 17:43
    agnipanda commented #283
  • Jul 06 10:23
    hemanth-byrisetti opened #289
  • May 29 02:28
    dcsan opened #288
  • May 29 02:26
    dcsan commented #287
  • May 07 22:07
    snird opened #287
Handonam
@handonam
hey guys, I have this super odd situation where I am trying to run npm install remotely
my npm installs just throw tons of errors, kind of like the node 0.12.x to node 4.x transition
but, if i run npm install while i'm on the destination machine, it runs fine
very bizarre, and I don't know where to look
i defininitely only have one version of nodejs installed, and that's 4.2
Handonam
@handonam
hm.. nevermind it seems like i can't do it over plain ssh at all
Handonam
@handonam
figured it out. it was a bash_profile issue. However I do have a question: I can't seem to run sudo commands over remote because it won't run the tty option. looking around, I can't seem to find how to enable it for shipit. thoughts?
Handonam
@handonam
ah, looks like this is the issue. I have to start the command with "sudo" because of this regex: https://github.com/shipitjs/ssh-pool/blob/master/lib/connection.js#L56
that's a little odd
Handonam
@handonam
hm.. shipitjs doesn't seem as active as i'd hoped for. oh well
Naveen Singh
@w0w
my shared tasks suddenly stopped working
      shared: {
        overwrite: true,
        dirs: [
          'keys'
        ],
        files: [
          {
            path: 'server/config.production.json',
            overwrite: false,
            chmod: '755',
          },
          'server/datasources.production.json'
          ]
    }
Leandro Isotton
@lisotton
Hellow, someboby online?
Yury Chernikov
@biperch
hi all
Greg Bergé
@neoziro
Hi, I am sorry I don’t have so much time to take care of Shipit, if someone want to be a maitainer, please tell me
Amol
@amolc
hi
Amol
@amolc
This message was deleted
Eric Howard
@thelucre
is it possible to deploy directly to a folder, without adding a releases folder?
Luke Bond
@superkaleider
Hey guys. Just started using shipit, really like it! I have a question though. What would be the best way of maintaining a directory in my project, for example, say in the root of the project there is an api/uploads folder. How would i make sure that when i deploy a new release that folder and its contents get copied to the new release? any help would be really appreciated. Thanks.
Humberto Ribeiro
@inforserver2
hey guys, is possible to deploy angular 2 apps with shipit?
Fabian Becker
@halfdan
@inforserver2 I don't see why not
Zhomart Mukhamejanov
@Zhomart
Hello, how to build locally? shipitjs/shipit-deploy#125
ahmar siddiqui
@ahhmarr
hello guys
i've a question
I'm using shipit-deploy
want to run some commands once everything is done
how can I do that
??
Fabian Becker
@halfdan
you could create a task to listen to the deployed event and then kick off your scripts
using shipit.remote
ahmar siddiqui
@ahhmarr
shipit.on('deploy:finish',function(){
console.log('calle dit')
return shipit.remote('pwd');
})
will this work
??
Fabian Becker
@halfdan
looks good yeah
ahmar siddiqui
@ahhmarr
not running :(
can i share my shipit file.js
Fabian Becker
@halfdan
sure, but it's been a long time since I've used shipit so I may not be the best of help
ahmar siddiqui
@ahhmarr

module.exports = function (shipit) {
require('shipit-deploy')(shipit);

shipit.initConfig({
default: {
workspace: '/tmp/app',
deployTo: '/var/www/app',
repositoryUrl: 'git@repo',
ignores: ['.git', 'node_modules','bower_components'],
rsync: ['--del'],
keepReleases: 5,
key: '~/.ssh/id_rsa_new',
shallowClone: true,
branch : 'dev'
},
production: {
servers: 'user@ip.address'
}
});
shipit.on('deploy:init',function(){
console.log('calle dit')
return shipit.remote('pwd');
})
};

Fabian Becker
@halfdan
could you put it on gist.github.com or any other code paste website?
ahmar siddiqui
@ahhmarr
yea just a min
Fabian Becker
@halfdan
or surround it by triple ticks to preserve the spacing
ahmar siddiqui
@ahhmarr

```module.exports = function (shipit) {
require('shipit-deploy')(shipit);

shipit.initConfig({
default: {
workspace: '/tmp/app',
deployTo: '/var/www/app',
repositoryUrl: 'git@repo',
ignores: ['.git', 'node_modules','bower_components'],
rsync: ['--del'],
keepReleases: 5,
key: '~/.ssh/id_rsa_new',
shallowClone: true,
branch : 'dev'
},
production: {
servers: 'user@ip.address'
}
});
shipit.on('deploy:init',function(){
console.log('calle dit')
return shipit.remote('pwd');
})
};```

Fabian Becker
@halfdan
test
Fabian Becker
@halfdan
-.-
well.. indenting your code would be a good idea
ahmar siddiqui
@ahhmarr
m extremely sorry
will update it asap
Fabian Becker
@halfdan
nah got it
http://jsbeautifier.org/ to the rescue