If you’re looking for an intro on how to deploy your React app to Vercel, Firebase, Netlify, GitHub Pages, Heroku, etc. this page has got you covered. Comes with easy to follow instructions. 10 ways to deploy a React app for free → Related: Here’s my post on how to deploy your first site onto …
Tag Archives: heroku
Deploying Your Ionic App to Heroku
Not much to it actually, as you only need Express to serve your Ionic app: // server.js, Heroku will autostart this when found var express = require(‘express’), app = express(); app.use(express.static(‘www’)); app.set(‘port’, process.env.PORT || 5000); app.listen(app.get(‘port’), function () { console.log(‘Express server listening on port ‘ + app.get(‘port’)); }); Deploying Your Ionic App to Heroku →
Heroku <3 PHP
Good news from Heroku: PHP is (finally) properly supported. Just add a composer.json file to your repo and Heroku will know your app runs PHP. Yes, you see that right: Composer is supported. Whenever you push your code to Heroku, it will install the dependencies if needed. $ git add . $ git commit -m …