I have just started using Amplify to build my web app, and set Web Preview by connecting with Github (followed here).
Even though Amplify App is integrated into my Github organization/repository, Web Preview does not get triggered and no pull requests are shown.
Could you tell me what causes this and how to solve the problem?
(e.g., Need to use Github Team/Enterprise plan?)
Related
I'm trying to implement webhooks in Django with Stripe, but I'm facing an issue where the webhook is not getting triggered after a successful purchase using the Stripe CLI. However, the webhook works perfectly fine when tested using Postman.
I've tried multiple libraries and packages, including downloading repositories for webhooks integrated with Django and Stripe, but the problem still persists. I've double-checked all the URLs and made sure that every step has been taken correctly. I'm not including any code here as I've tried many different approaches and downloaded git repos just to test the webhooks, but the problem remains the same.
I'm using Windows 11 with VSCode, Stripe CLI, Django Rest Framework, and I've even tried turning off the firewalls, but to no avail. On the other hand, when I tested the Stripe CLI with a NodeJS app, the webhook fired as it should.
Can anyone help me troubleshoot this issue and make the webhook work with Django and Stripe CLI?
The solution to the problem was to install the Stripe VSCode extension. This made the webhook work with Django and Stripe CLI.
The bounty expires in 2 days. Answers to this question are eligible for a +50 reputation bounty.
Jimmie Johansson wants to draw more attention to this question.
I have run through AWS Amplify's full-stack application tutorials multiple times to create a react native app, every time with the same result. The UI components created in AWS Amplify Studio are not being synced to my local codebase on pull.
The steps I followed on my most recent attempt:
Create Amplify app via AWS Amplify console
Configure UI Components/sync with Figma
Using the "Local Setup Instructions" link at the top right of Amplify studio, performed an amplify pull
The amplify pull always succeeds but never pulls UI components. If I set up a backend data or auth, I will see those synced properly, but I never see this (screenshot from a youtube vid):
And no ui-components folder is created in my source code. I'm at a loss, I've watched videos and followed tutorials from different people and nothing seems to work. The results are always the same and the rest of the functionality works as expected (graphql schema, auth, etc).
I found this question, which is similar, but outdated as from what I can tell Amplify should now support react native.
I configured a parse server on my AWS elastic beanstalk using this guid I've tested it and it all works fine
Now I can't find a way to deploy parse dashboard on my server.
I did deployed parse dashboard on my local host and connected it to the application on server, But this way I cannot manage (Add and remove) my apps.
Another problem is that parse dashboard missing cloud code on default, I found this on git, but I cant understand where do I add the requested endpoints, is it something like adding app.use('/scripts', express.static(path.join(__dirname, '/scripts'))); on the index.js file?
in order to deploy parse-dashboard to your EC2 you need to follow the Deploying Parse Dashboard section in parse-dashboard github page
parse-dashbard github page
Please make sure that when you deploy parse-dashboard you are using https and also basic authentication (it is also part of the guide)
Now regarding the cloud code: the ability to deploy cloud code via parse CLI and to view the nodejs code in parse dashboard are not available in parse-server but those are parse.com features. Cloud code in parse-server is handled by modifying the main.js file which exist under the cloud folder and deployment should be done manually by you but the big advantage in parse-server cloud code is that you can use any NodeJS module that you want from there and you are not restricted to the modules that were used by parse.com .
Another point about the dashboard. What you can do is to create an express application and then add parse-server and parse-dashboard as a middleware to your express application and deploy the whole application to AWS and then you can enjoy both parse-server (that will be available under the /parse path, unless you changed it to something else) and parse dashboard that will be available under the /dashboard path
Enjoy :)
I have been working with Azure's web app service using Resource Manager to deploy a Django app. It has been working in fits and starts. I really like the auto-deployment from GitHub but I have been frustrated by the ability to work with the underlying machine. There is a "Console" tool through the Azure portal but it has limited functionality and when there is an internal server error on my app, I can't find the server output log.
Can someone share insight into how to view the server logs?
Azure web apps have a number of logs however, the applications logs provided out of the box only support Asp.Net applications. That being said there is an article about django on web apps and how to store and view its logs here.
What'll you'll have to do, as described in the link, is to setup the django application to store its logs on the azure file system. Another option is to setup the django application to email the devs but the better option is to store the logs on the file system properly.
So I have got WSO2 P.PaaS installed and running. I want to deploy .war file to the Application Server. It seems the AS on P.PaaS does not accept .war file; but the stand-alone one does. See here. Also, I want to use the WSO2 products deployed into the PaaS. I am not sure what URL or port I should use. Is there a tutorial that I can use to experiment?
Sorry for the brevity, but, I am new to WSO2.
What PPaaS version you have installed, 4.0.0 or from current master branch which is 4.1.0 milestone 1 version?
Here is the quick start guide Quick start guide .
You can access the management console as https://STRATOS_DOMAIN:9443/console.
Assuming you are using PP 4.0.0 version,
Log into management console
Go to cartridges page. There you can find the available cartridges, you should find Application Server as a cartridge.
Click on AS cartridge in order to subscribe for it. At subscribing process you would be asked a GIT repository URL.
After you subscribe, PP will clone what is in your GIT repository url in to Application server. So if you provide a url which has your web application, those application would be automatically deployed into the Application server. Here is a sample GIT repository , you can include your web apps under "webapps" folder.
There after if you modify your web apps (say web app version 2) and commit the changes to your repository, Stratos/PP automatically update Application server with the new web apps.
Since you have already deployed PP, you can have a loot at this screencast to see how you can deploy a web app