how to create electron desktop app with existing angular2 project - php

I have an angular2 project which uses mysql, php, jspdf and firebase.
I tried to find it with lots of github sources but it does not work!
The problem is, i have to run it on desktop without internet.
So how can i convert an existing angular2 project to electron desktop app and package it?

https://github.com/electron/electron-quick-start
I figured out with this. It is really simple.

Related

Uploading Laravel app to Google Cloud Platform without using docker

I would like to ask if it is possible to upload a laravel app to Google Cloud App Engine without using docker?
I tried to find any relevant resources but I can't find anything ob the internet that could help me wiith this. And if it is impossible, what should I do as my next step?
And if the only possible way is using docker, is it possible to add it after developing my laravel application?

Does it work to deploy a React project to Netlify while the Laravel backend is deployed in Heroku?

I have a mini project for practicing my skills in React and Laravel and I wanted to deploy it online so I can add it to my portfolio and also for future job applications.
Does it work if I deploy the front end code (React) in Netlify and the back end code (Laravel) in Heroku?
Wanted to test it out since its both free to deploy in those ways. I already tried deploying both front end and back end in just Heroku and wanted to test some things differently.
Yes, it's possible you just have to add Functions to your front app.
Tutorial React APP to Netlify :
https://www.netlify.com/blog/2016/07/22/deploy-react-apps-in-less-than-30-seconds/
Function API example :
https://functions-playground.netlify.com/
Hope this helps.

How to deploy PHP backend application by google cloud

I install in the google cloud app engine the Apache and PHP.
I put the files in var/www/html/.
I try to connect to PHP by POST, it's not working.
seem the PHP files no running.
Please help me! Thank!
The way you use App Engine is by just deploying your applications, there is no need to install Apache or PHP on it. In fact there is a very simple guide over at https://cloud.google.com/appengine/docs/standard/php/quickstart which shows how to deploy a simple hello world application and you can start building from there.

Upload my php project files to use with google cloud AppEngine

I've spent 10+ hours yesterday reading up about / testing tutorials with google cloud and how I can use them as a host for my dynamic website.
With all of the new information in my head, I'm scrambled on what to do.
I already have my Virtual Machine Instance built with an IP that links to my domain, this works fine. However, I cannot for the life of me figure out how to put my project files on there. I figured it would have been something like "upload project files", "link with appengine", "link with cloud sql", but it seems like I was wrong?
In the tutorials, I uploaded googles sample projects (tutorials) by cloning a github link in the shell.
git clone https://github.com/GoogleCloudPlatform/getting-started-php.git
They also said a zip file could be extracted as an alternative.
Are those the only way of doing this? Should I create my own github and cone it in the shell?
Is it possible to link an AppEngine with a bucket that has my project files on there? (just throwing the question out there)
bonus question: once the files are uploaded, am I able to edit/develop through google cloud or do I need to edit changes in my files, then re-upload it to the cloud as an update?
This is my first time trying to have google (or any company) host my website, and this is completely foreign territory for me so any direction is much appreciated.
there are couple things mixed up in your question. Let me try to untangle them.
You don't need to create virtual machine if you want to run your PHP powered website on App Engine. There's a great overview in this article https://cloud.google.com/appengine/docs/standard/php/an-overview-of-app-engine
The way you run your PHP website on App Engine is by deploying your code to the version, you can do it using gcloud app deploy tool from your sources on your local machine. I recommend you to start by going through tutorial on here: https://cloud.google.com/appengine/docs/standard/php/quickstart
There's currently no way to link Google Cloud Storage bucket with App Engine version, you have to deploy your code yourself using either gloud app deploy or using App Engine Admin API that gcloud is using internally.
There's no way to edit your App Engine application code in the cloud.

Zend Studio Android Native Application

I have installed Zend Studio, downloaded and updated ADT. All seems to work ok to the point where I want to Create Android Application. The folder for the android app is created, but there are only 2 files inside:
.project
project.properties
I am not sure what causes this, as when I try to generate native app for iOS or Windows Phone it seems to generate all the files to run the app.
Have anyone came across this problem?
Thanks
i was facing the same problem.. I have updated my zend and android sdk.. and now problem is solved.

Categories