i want to start making a facebook app and using the APIs, but i dont have a website to test anything out. how do i get it working on localhost or is it better to start using heroku for it and upload all my php files onto that
Use XAMPP
It's available for Windows, Linux and for Mac.
Related
I am hoping someone can provide some guidance on how to host a local html / web app instance of https://zxing.appspot.com/generator. I have read the documentation, and have searched in the web but I have come away empty-handed.
Also related, Does anyone know how safe it is to use zxing.appspot.com/generator when entering personal info (like wifi passwords)?--> this is one motivation to run the app locally but I am not sure if this concern is well-founded.
I tried downloading the web app source code from: https://github.com/zxing/zxing/tree/master/zxing.appspot.com
and installed it using maven. It seems like the installation went without issues (in wsl2), but I dont find a way to run the app locally as a web server.
I am on a windows 10 machine and trying to use the Shopify App CLI to create apps, but I am running into some errors.
First I installed ruby so I could use the gem command to install the Shopify App CLI, as explained here.
When running shopify version as explained in the above documentation, I get the following output:
bash: shopify: command not found
After googling for a bit I found a solution to this problem, by running shopify.bat version. With this command I can use the CLI.
Moving on, I tried following this tutorial to create my first Shopify App. I used shopify.bat create node to create my app, moved into the folder and ran shopify.bat serve to serve my app locally.
Now the following problem arises:
It starts promising by installing ngrok:
But after waiting for a bit, I get the following output (Sorry for the screenshot, I could not get it to look normal with inline code):
What I also notice is that it uses C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/shopify-cli-1.4.0/ as the path to the CLI, but when looking on Google, most people have /home/[USER]/.shopify-app-cli/ as the path to the CLI. This path does not exist on my machine.
So I would like to know why first of all the serving of the app won't work, because ngrok can't be found, and second why ~/home/user/.shopify-app-cli does not exist.
Thanks in advance,
Mike
I think modern Windows come with Linux now. Since the Internet runs on Linux, you might find development and following tutorials much easier if you use Linux, since all these inconveniences of Windows disappear. Unless you are already super handy with all the quirks of Windows to work around their results, it could be your ticket!
That being said, I mastered this development pattern using *nix and it remains pretty advanced to actually have a smooth workflow for both localhost and production development. Ngrok itself is painful without paying for the service and using puma-dev and puma-ngrok... I laugh when I think about how those essentials running under Windows will be for you.
I'm currently building an module for Drupal 7, which requires the functionality of taking an screenshot of another website and delivering this to the user. For doing this i'm using an php wrapper for chrome (headless).
Aaand: It works on my machine!
But: I realizied, that the project is hosted on a managed server, so i can't install the google-chrome package from the gentoo-repository.
Now my questions is if there is any sort of portable chrome for this use case.
Thank your for helping!
The way i took was using an Amazon Lightsail Instance with an LAMP-Stack. There i could install the required parts. So i'm calling an endpoint on this instance from my drupal module and it's answers with the base64-encoded image data (and some stuff around it).
I am working in an organization where i Have to start projects in laravel, but the problem there is that we are working on remote desktop i.e., without internet and without copy & paste of code. Is there any way to develop my web applications on remote desktop?
can I download the laravel source code and start development?
If Yes, how will I update packages or make commands on composer as composer downloads from internet?
Laravel source code can be downloaded to your local machine or remote computer and you start using it straight away without the need of internet (except for default Laravel bootstrap, google fonts, which can be downloaded by you, or you can ignore it completely)
The second thing composer doesn’t need connection at all, its local, it just generate files from command line.
However For packages yes you definitely need Internet so you will need connection.
For example there is a calculator app inside my computer so can i run ,use and display calculator app on web browser from my computer but only by using server like xammp or other offline software without uploading on others server or using online app ? please provide easy solution.
You can try OnlineVNC? http://www.onlinevnc.com/
I'm not sure if it fits your criteria though. It's a server part that you install on your PC so that you can remote it from a browser.