Angular JS, Git and Non-Heroku Deployment - angularjs

I have Ruby on Rails as my primary programming language and the workflow mostly went as make changes-commit changes-push changes-deploy with capistrano
I looked over the internet for ways to have such a workflow (or at least quite similar) for Angular.JS and I can't seem to find one. There is Yeoman but I can only see examples for Heroku. I host with Webfaction right now.
So I was wondering is there some way to track an angular JS project with Git (preferably Github) then deploy it to Webfaction from that git repo?
Thanks in advance!

I use yeoman to setup angular.js apps and capistrano to deploy them on production (digitalocean) - I wrote an article about this: http://howwedoapps.com/2014/04/03/deploy-angularjs-app-with-capistrano-on-the-cloud. I hope it helps.

I don't know anything about Webfaction, but if it's a VPS you have take a look at Dokku.
It's basically your own Heroku, hosted on your own server.

While it's not specificaly git based, capistrano is one of the most popular ways of deploying ruby web application to a vps. It has features that would allow you to deploy from github, but that would need to be configured separately and would need to be called from the command line from your development computer.

Related

How to Host Laravel-Mix applciation in BigRock?

I am building one application with Laravel as back-end and React.js as front-end. How to host the application in BigRock or GoDaddy? I searched for 2 days, and found nothing related. Please HELP!!
Laravel application hosting don't need something special... just take care of these things.
php version as per the desired laravel version.
composer should be installed on server.
Some pre-dependancies check here... https://laravel.com/docs/5.8/installation
Your domain should point to <application_root>/public folder.
If you are using mix make sure node should be installed.
After that..
Just clone / upload the code on server and run the desired commands like..
composer install & npm install to install the laravel dependancies & node dependancies.
As per your case you are going to host two application here. So you can follow the following approach.
Host laravel application as sub-domain like api.domain.com and react application on main domain.
I hope you are already fimilar with what's required for hosting react application.
Edited:
For the shared hosting, you can request to enabled the shell access from hosting provider support team. Once they enabled, you'll able to run the linux command and do install by yourself.
Sometimes they could install required software for you.
All the best!

Deploy cookiecutter-django on Netlify

Has anyone tried to deploy a cookiecutter-django project on Netlify, or maybe just a Django project? I'm not sure which commands Netlify requires for deploying my site.
As far as I understand Netlify is to deploy front-end applications or staticly generated sites. It doesn't provide a back-end environment to run a Python application like Flask or Django. Therfore, it wouldn't make sense to support it in cookiecutter-django.
However, you could use a static site generator in Python, like Pelican.

how to create one end to end application in angular/node/mongoDB and deploy it to heroku

I need to create one demo app which will have the technology stack as
UI: angular.js
backend: node.js
Database: MongoDB
I can use Github to store the repository and need to deploy it on heroku.
can anyone suggest me how can i Do that?
There are so many tutorials for this. Just look on the Heroku website if your problem is that you don't know how to deploy (Look at the Heroku git toolbelt), if your problem is that you don't know how to make a MEAN app (MongoDb, Express, Angular and Node) then I can forward you to this tutorial which I found really helpful https://scotch.io/tutorials/setting-up-a-mean-stack-single-page-application and https://thinkster.io/mean-stack-tutorial. I would also advise that you look into technologies such as Gulp and using Typescript with AngularJs if you weren't already.

Importing a deployed google web apps project

I have made a rookie mistake of not backing up a project I've been working on. A quite recent version of it is currently deployed. I had to re-install the app engine launcher and was wondering if there is any way at all to download the current project from the deployed version and carry on working on it?
I do recall seeing something about this in a google developers page I can't seem to find now, and it involved using the projects number as well as its id?
I think this is the link you're looking for. Or this one if you're using Java.
It basically comes down to this command in your command line:
appcfg.py download_app -A <your_app_id> -V <your_app_version> <output-dir>

Upload Jruby on rails on Google App Engine - cannot find gem appengine-rack

Just trying to deploy a simple Jruby on rails app on Google App Engine but falling at first hurdle.
I've been following instructions on https://code.google.com/p/appengine-jruby/ and a few other websites. I've installed the gem 'google-appengine' as instructed and Command Prompt tells me that it's installed.
As I started typing require 'appengine-rack' in my config.ru, I can see that my IDE tells me it doesn't recognise this file. I fire up the local server anyway just as a test and it tells me that "LoadError: no such file to load -- appengine-rack".
I can clearly see in C:\jruby-1.7.3\lib\ruby\gems\shared\gems\appengine-rack-0.0.13\lib\ . So I'm a bit stumped. When I run >gem list, I can also see that this gem is there.
I'm doing this for the first time.
I'm using Windows 7. Jruby version 1.7.3. Rails 3.2.1.
Thanks in advance.
Looks like the project you are trying to use is rather old, (last commit date is Date: Mar 30, 2011). And it is written there that they are only planing to have a support of version 3.x.
Anyway here is the answer to your question(rather old too)
Unable to get google-appengine for Jruby to work
And this search could be helpful https://stackoverflow.com/questions/tagged/google-app-engine+ruby
From rational point of view it is not very good idea to use this gems for production. If you need cloud hosting for your ruby procejct heroku would be a solution.
If you require appengine - you better go Java, Python or Go which are officially supported.

Resources