Is it possible to connect a GitHub repo with a Vercel Project without opening a browser? - vercel

Assuming I have:
GitHub and Vercel accounts already setup,
Am using GitHub CLI and Vercel CLI
Is it possible to connect a GitHub repo with a Vercel Project without opening the browser?
I know I can create a GitHub remote repo with:
gh repo create --source=. --public --remote=origin --push
And then, deploy to Vercel via the interactive CLI:
vercel
But I still have to open the browser and manually click the Connect Git Repository button in Vercel.
Am I missing something or can this not be done entirely via the terminal?

Related

Hubspot Call provider integration

I'm trying to develop a Hubspot's Click to Call app to use by my PBX.
I've already studied the Calling Extension SDK guide and made a simple poc that works into my localhost by npm (npm start).
Now I'm trying to move into production test evinroment so, into remote server, I've basic copyed the project files and binded it by Hubspot App registration.
Unfortunatelly, when I run the app on my Hubspot TestAccount, I see (in the browser console) that it requires a "./bin/index_combined.js" file. It isn't into my npm directory and npm compiles it for me only when I run "npm start" command...(local scenario).
So how to use my Click2Call app by remote without npm ? or how to produce an index_combined.js good for remote scenario?

After deployment, Vue Nuxt SPA is not correctly displayed even though yarn start does work

summery
I"ve tried to deploy sample Vue Nuxt SPA to AWS S3.
My Sample SPA is correctly displayed in my local Ubuntu20.04 environment with yarn start.
However SPA on S3 does not work correctly and shows error.
I want to know how to deloy correctly and show the same content as I did in my local environment.
what I've tried
Run yarn start
Confirm SPA does work in my local environment.
Run yarn generate.
Deploy /dist to S3.
Configure S3 access rigihts.
Confirm SPA does not work correctly in S3.
show some codes
here is the github repo I've tried.
https://github.com/jpskgc/vue-nuxt-spa-sample/tree/main

Bigcommerce is it possible to pull all bigcommerce files into a local environment where I can test changes locally?

is it possible to push all files I have in bigcommerce into a github repo which I can clone and edit and test locally? And whenever I merge a new pull request to that repo, it automatically updates the website in production?
I believe this can be done with Github Actions, as they can be set up to allow you to make changes locally then push your changes to the main GitHub repository. The actions can be set to automatically upload and apply the theme files to your BigCommerce store.
Some other ref docs for you can be found here:
Github Marketplace
How to use Github actions
Stencil CLI
Commands

Can you use Gitlab CI / CD to build a Vue page and host it using Gitlab pages?

I have uploaded my code for a Vuejs site to Gitlab and if I build it using the Vuejs ui I get a valid website and everything works fine. How would I build my website using Gitlabs CI / CD?
Found it: https://about.gitlab.com/2017/09/12/vuejs-app-gitlab/
Thank you, Billal Begueradj!

Routing and images do not work after deployment

I have deployed a nuxt site to godaddy shared hosting (I know, right) and it all seemed to go well except that now the site displays without images and the routing doesn't work. The images are all stored in the static folder which was uploaded to the host. The nav links try and load a new page and then settle on the home page again. The site is here
The project is a nuxt frontend served by a node api with a mysql database. The api was loaded into a different folder and is working, and the frontend is getting data from the database.
To deploy the project I committed to github, then with ssh connected to the host, cloned the github repo, npm install, npm run build, and then npm start. It starts, is accessible but just no images or routing. Seems quite odd.
I upgraded node to the latest LTS (10.15.1) before build.
If anyone has an idea how to fix these issues please let me know.