Stay Tuned!

Subscribe to our newsletter to get our newest articles instantly!

Apps

How to Troubleshoot in Deploying App via Git/BitBucket or manually to Azure/DigitalOcean

Git Bash

  • Change the location of the WAMP directory. By default goes to [username@machinename] directory and if you are running WAMP the folder is supposed to be pointed to C:\wamp\www
cd /c/wamp/www
  • Command to undo git init
rm -rf .git
  • Commands  to add and commit the additional changes, and then push the changes to the remote repository:
git add index.html 
git commit -m "Celebration" 
git push azure master

DigitalOcean

  • When setting up Laravel web application, the main page is loading as HTTP 500 Error, to find out is to check the Apache log.

The Apache’s log for Ubuntu is located under:

/var/log/apache2/error.log
  • The Welcome page is up but the rest of the routing is not working. Made some adjustments on Apache: 

Enable mod_rewrite on the apache server:

sudo a2enmod rewrite

Edit /etc/apache2/apache2.conf, changing the “AllowOverride” directive for the /var/www directory (which is my main document root):

AllowOverride All

Then restart the Apache server:

sudo service apache2 restart

Sources

Credits

Photo by Josh Sorenson: https://www.pexels.com/photo/black-flat-screen-computer-monitor-1714208/




[Note: Pageviews – 1,121 – before migrated from the Dewalist Blog website on 09/08/2020]

Avatar

Valdy

About Author

Valdy founded Dewacorp.com, a helpdesk and IT Services provider that has taken care of nearly 40,000 customer service requests in the past 15 years - nearly 2,600 per year. He also created the growing Dewalist.com - a classified website that has close to 110,000 page views and 9,000+ user visits per month with 61,000+ yearly published ads and 47,000 active registered users. He blogs for the ever-growing Dewapost.com, a tech blog that gets around 20,000 impressions per month with 700 clicks and 10 average pages first impressions on Google Search. You can reach him on the Contact Us page, social media links below or Dewachat.com.

You may also like

Apps

Automate Repetitive Tasks on Your Computer

[This blog is migrated from our classifieds website on 18 July 2020. Previously, it has 3,759 views.] Pre-Solution There are
Apps

Why does Joomla! 1.5 use UTF-8 encoding?

Well… how about never needing to mess with encoding settings again? Ever needed to display several languages on one page