-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git my localhost on the web (PaaS) #4
Comments
sign into Render w/github credential start new Web Service connect to GitHub Repo give it a unique name (unique on web, not unique to just your acc't like github) mine: icecold-polar-render pick what branch to deploy from. I chose iss3. Web Server Settings: Runtime = Node Build Command = npm Start Command = node app.js "Create Web Service" big purple button --> create web |
Refactor with port binding link url: https://docs.render.com/web-services const express = require('express')
const app = express()
const port = process.env.PORT || 5500;
app.get('/', (req, res) => {
res.send('Hello World from Express')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
}) |
identify a PasS ==> render.com
The text was updated successfully, but these errors were encountered: