Can I deploy Sailsjs to AppHarbor or Heroku? - heroku

AppHarbor supports Node using iisnode. Can I deploy my Sails.js app to AppHarbor at this time, and if so, how?
I honestly have no idea what I'm doing with a node deploy but I'm trying to follow along with what I'm reading online. When I deploy my code out to my repo and AppHarbor builds it I get the following error: The current identity (...) does not have write access to 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files'.

UPDATE (September 2013)
There is an updated deployment guide here:
https://github.com/balderdashy/sails-wiki/blob/0.9/deployment.md …
#chadn posted an example Heroku deployment with Sails.js here:
https://github.com/chadn/heroku-sails
Original post
I don't know a whole lot about Windows deployments in general, but we do have a deployment guide here:
https://github.com/balderdashy/sails/wiki/Guide:-Deployment
Also, I know the guys/gals at Nodejitsu and Modulus have helped out folks getting their Sails apps set up, so that might be a good place to start as well.
Good luck!

Related

Deploy to Azure marks (Release Annotation) from desktop

Is there any way to look for deployment event from Visual Studio in Azure? I would like to see when we deployed.
Previously, we had that option in Application Insight, now that they removed that feature I don't know where to look.
I would've expected to find that information, i.e., deployment/publish history in Azure Activity Logs or Deployments under the corresponding Resource group, but couldn't, and began digging further.
AFAIK, there isn't a straightforward way of tracking manual deployments on Azure. However, I can think of two workarounds:
Using VS Code: When a deployment is manually performed using VS Code using the Azure App Service extension, it becomes easier to track the deployment history and also see the current/active version, along with various other configuration options and logs. For example:
Using the KUDU console: Browse to the deployments page within the Kudu console for your app service (would be of the form: https://{app-name}.scm.azurewebsites.net/api/deployments), and you should see the history in JSON format. For example:
Note: I'd strongly advise using the same mode of deployment always, for maintaining consistency, and also building a CI/CD Pipeline for streamlining your deployments if this is not a test environment or a PoC.
Hope this helps!

Heroku CI status badge

Im using Heroku CI to run tests in Heroku Pipeline. I would like to add CI status as badge in the README.md file at Github, for master branch.
But so far, I have not found out-of-box solution on this request. Any tip on workarounds to get this work without building the ci-badge solution myself?
Few inspirations I have found:
https://github.com/heroku/heroku-ci: (see the status badge on top of README.md. However, image URL is specifically searching for pipelines for the Heroku CI application, and doesnt work with other applications)
https://github.com/pussinboots/heroku-badge: displays deploy badges, which is not important for me. Also, this repo/app doesn't seem to be maintained anymore (last commit 2 years ago)
I agree that a good Heroku CI badge generator is lacking! Heroku is still running one here, but the linked GitHub repo is unfortunately 404 (and, as you noted, that generator doesn't seem to work with pipelines other than Heroku's own, which makes it not that useful).
In any and all cases, inspired by your question, I went ahead and created a Heroku CI badge app that you can deploy to your Heroku account! Please find it here.
Feel free to open issues / fork it if you want to change anything.
Cheers

How to deploy asp.net mvc 5 to heroku

I've done a simple application using Asp.net MVC 5.
Are there any ways to deploy my application from Visual studio to Heroku ?
Can anyone instruct me please ? I'm new to open source servers.
Thank you :)
Heroku doesn't officially support ASP.NET, nor am I aware that there are any plans to do so. That being said, there are many OS buildpacks that you might be able to leverage to deploy your application. This one is a little stale but you could give it a shot.
Another option would be to fork the buildpack above and suit it to your needs.

new version cloud 9 : how to deploy to heroku

How to deploy a web application to heroku in new version of cloud9 ?
The previous version had the deploy button, but cannot be found in new version
In the new version of Cloud9 we don't have support for deployment from the UI yet unfortunately, but we're going to add those features soon. In the meantime, we recommend using the command line from the built-in terminal, as described on our documentation site here: https://docs.c9.io/deploying_via_cli.html
In addition to the directions that Ivar published above you may need some additional steps.
For Rails deployment you need to:
1) Add your SSH key via the command line to heroku using: $ heroku keys:add
Source: https://devcenter.heroku.com/articles/keys
2) Remove SQLite and add Postgresql
Directions and source: https://devcenter.heroku.com/articles/sqlite3
I noticed this too but I have already setup my deployment using snap-ci.com it takes about a minute and when you check into your repository snap-ci will deploy it to heroku for you. I know it doesn't exactly answer your question but its a very simple alternative. I would add that down the road if you need additional deployment steps you are already part way there if you use a CI system.
I managed to do it via c9 command line as there were some proxy issues which I couldn't figure out in my local computer.

integrate commerce server with a Continuous integration server

Our main application uses Commerce Server 2002, we are currently in the process of upgrading to 2009. I am looking into setting up CC.net for both apps. I have it pulling from SVN and starting the build but it will fail because Commerce Server is not installed so the DLL's are not there.
I don't really want to do a full install of Commerce Server on the CI Server if I can avoid it. Does anyone have any experience / advice on setting up the CI Server / repo / project so that It would build without CS installed. currently we do not have any unit tests so that part is not an issue, its getting it to build and being able to do things like FXCop, etc.
Thanks
As far as I can see, there is no problem in put just the core DLLs of Commerce Server in a "References" directory created under the same structure of your source code.
I have been using this approach in many projects without problems so far.
Maybe, the only problem you'll have now (since you are not using this approach) is that you'll need to refactor a bit your solution to put the references.
Regards,
Alex

Resources