Retrieve website files from Laravel Forge/Digital ocean - laravel

I have a website that was made by someone. I’m trying to get my files and want to be able to update some front end stuff. He made the website with Laravel Forge and Digital Ocean. He has his account connected to his Github I think. I was able to ssh into my Forge with keys. I also have a sudo pass and database pass if this helps. He’s MIA btw deleted all his social stuff and website and won’t respond to emails.

If you don't have access to GitHub so the easier way is to download the files from the server there are many ways to do it as example by using FileZilla then create a new repository in GitHub and push your code to the repository in GitHub then you can deploy from GitHub to the server

Related

Website Host Gone | Recover the old website

my client lost his webiste hosting cause he didn't pay the last 3 months, so the host deleted the webiste on their servers.
Now we have a version on https://web.archive.org ,
How we can recover it , and upload it agian on an other host server.
Please Help guys
you can try to use this
https://websitedownloader.io/wayback-machine-downloader/
But you can download only the front-end and there is no way recover back-end code, you should develop it again, or you can ask hosting provider a recover image for extra payment, some hostings do that

where I can deploy strapi for production?

I have made a simple comercial project where i used my own cms just for help client upload photos on his page. Its very primitve so i decided to use strapi.io because of better UI/UX.
My question is where I can deploy strapi. Server where site is hosted doesn't support node.js so it has to be external server. I'm thinking about Heroku but I don't know if it will work and how it should handle img files. It will be nice if solve of this problem won't generate additional costs.
Please, help!
If you don't have a DB hosted, you could look at using Mlab which is cloud database service that hosts MongoDB.
There is a useful Strapi blog post that walks you through deploying it to Heroku here: Deploying a Strapi API on Heroku
From their documentation
Heroku
AWS
Digital Ocean
Google App engine
There was a service called Redhost (redhost.cloud) which specialized in Strapi server hosting.

How to run my Slack chatbot on Heroku?

I recently built a Slack chatbot using this tutorial: https://youtu.be/jTaoU6u1Fcg
It worked great.
Now, I'm trying to run my bot on Heroku instead (so it works 24/7) but can't find anywhere online on how to do it.
The specific questions I need answered are:
What PORT do I add to my .env file now? (since I want it on a remote server public, I guess the answer isn't 3000 anymore)
Where (on Heroku) do I find the redirect URL for Oauth & Permissions?
Where (on Heroku) do I find the request URL for Event Subscriptions?
Will I still need to use ngrok or npm install? If I want the app to run 24/7, is Heroku enough?
Thanks for any help.
I just recently deployed a chatbot on heroku. The answers to your questions will be:
1. I kept the port same at 3000 and that will work on heroku as well.
2. I don't think you need to do anything on the heroku.
3. I don't think you need to do anything on the heroku.
4. ngrok wont work now but instead of ngrok url you will have add the url given by heroku (e.g. http://yourappname.herokuapp.com/) on your slack interactive elements and slash commands if you use them.
I hope this should fix your problem. One more thing there will be a proc file in heroku where you will have to give the entry path of your app.

How to deploy an Ionic app with CouchDB and PouchDB using Heroku?

I just followed along with this tutorial to create a Todo list app with user authentication: https://www.joshmorony.com/part-2-creating-a-multiple-user-app-with-ionic-2-pouchdb-couchdb/
The app is built with the Ionic 2 Framework using CouchDB and PouchDB to create a separate database for each user. However, I am totally confused as to how to move this setup from my local machine to a Heroku server.
Can anyone provide a step by step process to accomplish this?
Heroku no longer supports couchdb addon seems it was closed sometime back. For couchdb-pouchdb hosting you can use IBM's cloudant, irish couch or digital ocean.
For my case i setup an ubuntu16.04 droplet on digital ocean, installed and configured couchdb on it. You can check out this list of couchdb hosting sites. Hope this helps

how to upload Laravel project on Bitbucket?

i want to share my Laravel(version 5.4.12) project with client, but i didn't use BitBucket before and i have no idea how to upload my Local project on Bitbucket with Database and how to access. My client want to update him daily.. so please help me out
Just create a new repo on bitbucket, then select the option that reads
I have an existing project
They will give you all instructions how to upload existing project to bitbucket.
You cannot upload your local database to bitbucket by default, unless you manually download it and place it somewhere in your project, then on your next push, it will be uploaded.
But your project already goes online with all migrations. So you can use migration on the server to install the database.
How to link with website
Once on bitbucket, your code is now available online. Then you need to connect on your server on ssh. Once connected, you can navigate where you want to install it and clone the repo.
after cloning the repo on the server when you want to link the website, you can run usual commands like php artisan migrate --seed to create and populate the database.
Make sure you create .env file online. It won't be available on bitbucket.
You can use ngrok to expose your locally hosted project over secure tunnels to the public internet even if your local host is behind NATs and firewalls . It is very easy to use, for example after you have downloaded ngrok, by running ngrok http 8000 from the command line and it will give you a URL which will expose what is normally localhost:8000 for you. Give that URL to your client and they will be able to access your localhost.
You can find ngrok here - https://ngrok.com
You can only show the progress to the client if you have deployed the project on a server or if the client can pull from bitbucket and run on their own localhost but am assuming you are not going that way so upload it on a test server.

Resources