I am trying to find a way to integrate auth0 sso api on php (shared hosting) without composer or terminal. If anyone to drop in suggestions on how can it be done it would be hrlpful for me and community
I searched almost every blog/documentation but i was not able to find any effective solution
Related
I developed a desktop application in react and electronjs. And built an API with laravel, eveything works perfectly. The challenge I have is, how I can deploy and run my electron app locally without having to manually setup the laravel API.
I am looking for a way to have all of this setup and installed once. I checked out a couple of options and one of such is php-server but that wasn't still going to cut it.
Shell Scripting
I have thought about executing a shell script to create the server instance pull my laravel application from github, set it all up on docker.
The challenge is, if any of my users run docker ps they would see all the processes running on my docker instance.
A possible solution would be isolating docker so it's not accessible globally but only within the application.
I don't know how to achieve this.
If this is achievable please drop some guide on how to achieve that or maybe suggest a better way to handle my current situation.
I am considering using the following paypal sdk which is available on github:
https://github.com/paypal/Checkout-PHP-SDK
The paypal help at:
https://developer.paypal.com/docs/checkout/reference/server-integration/setup-sdk/
says to install using composer like this:
composer require paypal/paypal-checkout-sdk 1.0.1
However I don't have command line access on my webhosting service so I presume I won't be able to do that?
What are my options?
Presumably I could just manually ftp the required file up to my web host?
Or do I just have to work without the sdk?
My goal is to allow people to buy products via paypal on my website.
Install it in a local environment, do your development and test that it works, then FTP all the files over
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.
System is built onto:
1. Laravel 5.3
2. php70u
3. PHP PECL Radius Package https://pecl.php.net/package/radius
All i want to do is
1. Authenticate users on my own server via custom-built laravel portal (centos 7)
2. And then log them onto FreeRadius server (pfsense BSD machine)
Problem is i don't know how to include this raw, installed radius package into my laravel in a decent way. I don't want to include like raw php.
Thanks in advance.
I wasn't able to find a non-manual way to install the PECL library.
A custom-built laravel portal doesn't help you to both authenticate and authorize on a pfsense machine.
You can only authenticate onto radius server.
Which means, your authentication with freeRadius module does work, but doesn't work with captive portal.
If anybody finds a way around, I'll appreciate.
Ive been using Laravel and AWS for about a year now, i know there are people that deploy using code deploy (AWS) I have attempted doing it myself. But i want it to work with a load balancer and auto scaling group. Can anyone point me to a tutorial or give me a hand on this. I'm very grateful.
For working with AutoScaling Group, see: http://docs.aws.amazon.com/codedeploy/latest/userguide/auto-scaling-integ.html
For working with Load Balancer, see: http://docs.aws.amazon.com/codedeploy/latest/userguide/elastic-load-balancing-integ.html