[ITA] Laravel - Tutorial {16} - 🌆 deploy on heroku with procfile, database, regions & ssl (2022)
Channel: djCode
Date: 2022-01-26

💢 [𝗀𝗂𝗍𝗁𝗎𝖻] 𝗁𝗍𝗍𝗉𝗌://𝗀𝗂𝗍𝗁𝗎𝖻.𝖼𝗈𝗆/𝖽𝗃𝖼𝗈𝖽𝖾-𝗂𝗍/𝖺𝗐𝗌-𝖽𝖾𝗉𝗅𝗈𝗒
💢 [𝗁𝖾𝗋𝗈𝗄𝗎] 𝗁𝗍𝗍𝗉𝗌://𝗌𝗂𝗀𝗇𝗎𝗉.𝗁𝖾𝗋𝗈𝗄𝗎.𝖼𝗈𝗆/𝗅𝗈𝗀𝗂𝗇
💢 [𝖫𝖺𝗋𝖺𝗏𝖾𝗅] 𝗁𝗍𝗍𝗉𝗌://𝗅𝖺𝗋𝖺𝗏𝖾𝗅.𝖼𝗈𝗆/𝖽𝗈𝖼𝗌  

𝑻𝒊 𝒓𝒊𝒄𝒐𝒓𝒅𝒐 𝒄𝒉𝒆 𝒒𝒖𝒆𝒔𝒕𝒊 𝒗𝒊𝒅𝒆𝒐 𝒔𝒐𝒏𝒐 𝒅𝒆𝒍 𝒕𝒖𝒕𝒕𝒐 𝒈𝒓𝒂𝒕𝒖𝒊𝒕𝒊 𝑺𝒆 𝒓𝒊𝒕𝒊𝒆𝒏𝒊 𝒄𝒉𝒆 𝒏𝒐𝒏 𝒔𝒊𝒂𝒏𝒐 𝒂𝒃𝒃𝒂𝒔𝒕𝒂𝒏𝒛𝒂 𝒑𝒓𝒐𝒇𝒆𝒔𝒔𝒊𝒐𝒏𝒂𝒍𝒊 𝒆 𝒏𝒐𝒏 𝒇𝒂𝒄𝒄𝒊𝒂𝒏𝒐 𝒂𝒍 𝒄𝒂𝒔𝒐 𝒕𝒖𝒐, 𝒕𝒊 𝒑𝒓𝒆𝒈𝒐 𝒅𝒊 𝒅𝒂𝒓𝒆 𝒖𝒏'𝒐𝒄𝒄𝒉𝒊𝒂𝒕𝒂 𝒊𝒏 𝒓𝒆𝒕𝒆. 𝑺𝒊𝒄𝒖𝒓𝒂𝒎𝒆𝒏𝒕𝒆 𝒕𝒓𝒐𝒗𝒆𝒓𝒂𝒊 𝒒𝒖𝒆𝒍𝒍𝒐 𝒄𝒉𝒆 𝒄𝒆𝒓𝒄𝒉𝒊

𝖫𝖺𝗋𝖺𝗏𝖾𝗅 è 𝗂𝗅 𝖿𝗋𝖺𝗆𝖾𝗐𝗈𝗋𝗄 𝗉𝗁𝗉 𝗉𝗂𝗎' 𝗎𝗌𝖺𝗍𝗈 𝖾 𝖼𝗈𝗇 𝗉𝗂𝗎' 𝖼𝗋𝖾𝗌𝖼𝗂𝗍𝖺 𝖾 𝖽𝗈𝗆𝖺𝗇𝖽𝖺 𝖽𝗂 𝗅𝖺𝗏𝗈𝗋𝗈. 𝖥𝖺𝖼𝗂𝗅𝖾 𝖽𝖺 𝗂𝗆𝗉𝖺𝗋𝖺𝗋𝖾 𝗌𝖾 𝗌𝗂 𝗁𝖺𝗇𝗇𝗈 𝗅𝖾 𝖻𝖺𝗌𝗂 𝗌𝗈𝗅𝗂𝖽𝖾 𝖽𝗂 𝗉𝗁𝗉 𝖾 𝖮𝖮𝖯. 𝖫𝗈 𝗌𝗏𝗂𝗅𝗎𝗉𝗉𝗈 𝖼𝗈𝗇 𝖫𝖺𝗋𝖺𝗏𝖾𝗅 è 𝗏𝖾𝗅𝗈𝖼𝖾 𝖾 𝗌𝗂 𝗉𝗎𝗈' 𝖼𝗈𝗌𝗍𝗋𝗎𝗂𝗋𝖾 𝗎𝗇'𝗂𝗇𝗍𝖾𝗋𝖺 𝖺𝗉𝗉𝗅𝗂𝖼𝖺𝗓𝗂𝗈𝗇𝖾 𝗐𝖾𝖻 𝖽𝗂𝗇𝖺𝗆𝗂𝖼𝖺 𝗂𝗇 𝗉𝗈𝖼𝗁𝖾 𝗈𝗋𝖾.

𝖢𝗈𝗆𝖾 𝗂𝗇 𝗍𝗎𝗍𝗍𝗂 𝗂 𝗆𝗂𝖾𝗂 𝗏𝗂𝖽𝖾𝗈, 𝗂𝗆𝗉𝖺𝗋𝖾𝗋𝖺𝗂 𝗉𝖺𝗌𝗌𝗈 𝖺 𝗉𝖺𝗌𝗌𝗈 𝖾 𝗌𝖾𝗆𝗉𝗋𝖾 𝖼𝗈𝗇 𝖽𝖾𝗀𝗅𝗂 𝖾𝗌𝖾𝗆𝗉𝗂, 𝗇𝗈𝗇 𝗎𝗌𝗈 𝗌𝗅𝗂𝖽𝖾 𝗆𝖺 𝖽𝖾𝗅 𝖼𝗈𝖽𝗂𝖼𝖾 𝗋𝖾𝖺𝗅𝖾 𝖼𝗁𝖾 𝖿𝗎𝗇𝗓𝗂𝗈𝗇𝖺, 𝗈𝗀𝗇𝗂 𝖽𝖾𝗍𝗍𝖺𝗀𝗅𝗂𝗈 𝖽𝗂 𝖫𝖺𝗋𝖺𝗏𝖾𝗅. 𝖤𝖼𝖼𝗈 𝗎𝗇 𝗋𝗂𝖺𝗌𝗌𝗎𝗇𝗍𝗈 𝖽𝗂 𝗊𝗎𝖾𝗅𝗅𝗈 𝖼𝗁𝖾 𝖺𝗇𝖽𝗋𝖾𝗆𝗈 𝖺𝖽 𝗂𝗆𝗉𝖺𝗋𝖺𝗋𝖾 𝖽𝗂 𝖫𝖺𝗋𝖺𝗏𝖾𝗅:

✅ 𝖨𝗇𝗌𝗍𝖺𝗅𝗅𝖺𝗋𝖾 𝖵𝖺𝗀𝗋𝖺𝗇𝗍, 𝖵𝗂𝗋𝗍𝗎𝖺𝗅𝖡𝗈𝗑 𝖾 𝗁𝗈𝗆𝖾𝗌𝗍𝖾𝖺𝖽 𝗉𝖾𝗋 𝖺𝗏𝖾𝗋𝖾 𝗎𝗇 𝖺𝗆𝖻𝗂𝖾𝗇𝗍𝖾 𝖽𝗂 𝗌𝗏𝗂𝗅𝗎𝗉𝗉𝗈 𝖼𝗈𝗆𝗉𝗅𝖾𝗍𝗈 
✅ 𝖲𝗍𝗋𝗎𝗍𝗍𝗎𝗋𝖺 𝖽𝖾𝗅𝗅𝖾 𝖼𝖺𝗋𝗍𝖾𝗅𝗅𝖾 𝖽𝗂 *𝖫𝖺𝗋𝖺𝗏𝖾𝗅* 
✅ 𝖫𝖾 𝗋𝗈𝗎𝗍𝖾𝗌, 𝖼𝗈𝗆𝖾 𝖽𝖾𝖿𝗂𝗇𝗂𝗋𝗅𝖾, 𝖼𝗈𝗆𝖾 𝗎𝗍𝗂𝗅𝗂𝗓𝗓𝖺𝗋𝖾 𝗂 𝗆𝖾𝗍𝗈𝖽𝗂 𝖦𝖤𝖳, 𝖯𝖮𝖲𝖳, 𝖯𝖴𝖳, 𝖯𝖠𝖳𝖢𝖧, 𝖣𝖤𝖫𝖤𝖳𝖤, 𝗉𝖺𝗌𝗌𝖺𝗋𝖾 𝗂 𝗉𝖺𝗋𝖺𝗆𝖾𝗍𝗋𝗂 𝖾 𝗅𝖾𝗀𝖺𝗋𝖾 𝗎𝗇 𝗉𝖺𝗋𝖺𝗆𝖾𝗍𝗋𝗈 𝗋𝗈𝗎𝗍𝖾 𝖺𝖽 𝗎𝗇 𝗆𝗈𝖽𝖾𝗅 
✅ 𝖨𝗆𝗉𝖺𝗋𝖾𝗋𝖾𝗆𝗈 𝖺𝖽 𝗎𝗌𝖺𝗋𝖾 𝖻𝗅𝖺𝖽𝖾, 𝗂𝗅 𝗍𝖾𝗆𝗉𝗅𝖺𝗍𝗂𝗇𝗀 𝖾𝗇𝗀𝗂𝗇𝖾 𝖽𝗂 *𝖫𝖺𝗋𝖺𝗏𝖾𝗅* . 𝖵𝖾𝖽𝗋𝖾𝗆𝗈 𝗂 𝗅𝖺𝗒𝗈𝗎𝗍, 𝖼𝗈𝗆𝖾 𝖾𝗌𝗍𝖾𝗇𝖽𝖾𝗋𝗅𝗂, 𝗂 𝖼𝗈𝗆𝗉𝗈𝗇𝖾𝗇𝗍, 𝗅𝖾 𝗉𝖺𝗋𝗍𝗂𝖺𝗅, 𝖼𝗈𝗆𝖾 𝖼𝗂𝖼𝗅𝖺𝗋𝖾 𝖽𝖺𝗍𝗂 𝗂𝗇 𝗎𝗇𝖺 𝗏𝗂𝖾𝗐 𝖡𝖫𝖠𝖣𝖤, 𝗅𝖾 𝖼𝗈𝗇𝖽𝗂𝗓𝗂𝗈𝗇𝗂, 𝗂 𝖼𝗂𝖼𝗅𝗂. 
✅ 𝖵𝖾𝖽𝗋𝖾𝗆𝗈 𝖼𝗈𝗆𝖾 𝗎𝗌𝖺𝗋𝖾 𝗅𝖾 𝗏𝗂𝖾𝗐 𝖺𝗇𝖼𝗁𝖾 𝗌𝖾𝗇𝗓𝖺 𝖻𝗅𝖺𝖽𝖾 𝖼𝗈𝗇 𝗉𝗎𝗋𝗈 𝗉𝗁𝗉 
✅ 𝖴𝗌𝖾𝗋𝖾𝗆𝗈 𝖩𝗊𝗎𝖾𝗋𝗒 𝖾 𝖠𝗃𝖺𝗑 𝗉𝖾𝗋 𝖿𝖺𝗋𝖾 𝖽𝖾𝗅𝗅𝖾 𝖼𝗁𝗂𝖺𝗆𝖺𝗍𝖾 𝖺𝗅 𝗌𝖾𝗋𝗏𝖾𝗋 𝗌𝖾𝗇𝗓𝖺 𝗋𝗂𝖼𝖺𝗋𝗂𝖼𝖺𝗋𝖾 𝗅𝖺 𝗉𝖺𝗀𝗂𝗇𝖺 
✅ 𝖨𝗆𝗉𝖺𝗋𝖾𝗋𝖾𝗆𝗈 𝖺 𝖼𝗋𝖾𝖺𝗋𝖾 𝖽𝖾𝗅𝗅𝖾 𝖬𝖨𝖦𝖱𝖠𝖳𝖨𝖮𝖭 𝗉𝖾𝗋 𝖼𝗋𝖾𝖺𝗋𝖾 𝗍𝗎𝗍𝗍𝖺 𝗅𝖺 𝗌𝗍𝗋𝗎𝗍𝗍𝗎𝗋𝖺 𝖽𝖾𝗅𝗅𝖾 𝗍𝖺𝖻𝖾𝗅𝗅𝖾 𝖽𝗂 𝗎𝗇 𝖽𝖺𝗍𝖺𝖻𝖺𝗌𝖾 
✅ 𝖵𝖾𝖽𝗋𝖾𝗆𝗈 𝗂 𝖲𝖤𝖤𝖣𝖤𝖱 𝗉𝖾𝗋 𝗉𝗈𝗉𝗈𝗅𝖺𝗋𝖾 𝖼𝗈𝗇 𝖽𝖺𝗍𝗂 𝖿𝗂𝗇𝗍𝗂 𝗅𝖾 𝗇𝗈𝗌𝗍𝗋𝖾 𝗍𝖺𝖻𝖾𝗅𝗅𝖾 𝖾 𝗎𝗍𝗂𝗅𝗂𝗓𝗓𝖾𝗋𝖾𝗆𝗈 𝗅𝖺 𝗅𝗂𝖻𝗋𝖾𝗋𝗂𝖺 𝖥𝖠𝖪𝖤𝖱. 
✅ 𝖨𝗆𝗉𝖺𝗋𝖾𝗋𝖾𝗆𝗈 𝖺𝖽 𝗎𝗍𝗂𝗅𝗂𝗓𝗓𝖺𝗋𝖾 𝗉𝗁𝗉 𝖺𝗋𝗍𝗂𝗌𝖺𝗇 𝖽𝖺𝗅𝗅𝖺 𝗋𝗂𝗀𝖺 𝖽𝗂 𝖼𝗈𝗆𝖺𝗇𝖽𝗈 𝗉𝖾𝗋 𝖼𝗋𝖾𝖺𝗋𝖾 𝗆𝗈𝖽𝖾𝗅, 𝖼𝗈𝗇𝗍𝗋𝗈𝗅𝗅𝖾𝗋, 𝗆𝗂𝗀𝗋𝖺𝗍𝗂𝗈𝗇 𝖾𝖼𝖼𝗍 
✅ 𝖢𝗋𝖾𝖾𝗋𝖾𝗆𝗈 𝗂 𝖬𝗈𝖽𝖾𝗅 𝖾 𝗅𝖾 𝗅𝗈𝗋𝗈 𝗋𝖾𝗅𝖺𝗓𝗂𝗈𝗇𝗂. 
✅ 𝖵𝖾𝖽𝗋𝖾𝗆𝗈 𝖼𝗈𝗆𝖾 𝗎𝗌𝖺𝗋𝖾 𝗅𝖺 𝖿𝖺𝖼𝖺𝖽𝖾 𝖣𝖡 𝗉𝖾𝗋 𝖺𝖼𝖼𝖾𝖽𝖾𝗋𝖾, 𝗂𝗇𝗌𝖾𝗋𝗂𝗋𝖾, 𝗆𝗈𝖽𝗂𝖿𝗂𝖼𝖺𝗋𝖾 𝖾 𝖼𝖺𝗇𝖼𝖾𝗅𝗅𝖺𝗋𝖾 𝖽𝖺𝗍𝗂 𝖼𝗈𝗇 𝖽𝖾𝗅𝗅𝖾 ✔ 𝗊𝗎𝖾𝗋𝗒 𝗀𝗋𝖾𝗓𝗓𝖾 
✅ 𝖴𝗌𝖾𝗋𝖾𝗆𝗈 𝗂𝗅 𝖰𝗎𝖾𝗋𝗒 𝖡𝗎𝗂𝗅𝖽𝖾𝗋 𝗉𝖾𝗋 𝖼𝗋𝖾𝖺𝗋𝖾 𝖽𝖾𝗅𝗅𝖾 𝗊𝗎𝖾𝗋𝗂𝖾𝗌 𝖼𝗈𝗆𝗉𝗅𝖾𝗌𝗌𝖾, 𝗎𝗍𝗂𝗅𝗂𝗓𝗓𝖺𝗇𝖽𝗈 𝗅𝖾 𝖩𝖮𝖨𝖭, 𝖶𝖧𝖤𝖱𝖤, 𝖾𝖼𝖼𝗍 
✅ 𝖴𝗍𝗂𝗅𝗂𝗓𝗓𝖾𝗋𝖾𝗆𝗈 𝖤𝖫𝖮𝖰𝖴𝖤𝖭𝖳 𝗉𝖾𝗋 𝖺𝖼𝖼𝖾𝖽𝖾𝗋𝖾 𝖺𝗂 𝗇𝗈𝗌𝗍𝗋𝗂 𝖽𝖺𝗍𝗂 
✅ 𝖢𝗋𝖾𝖾𝗋𝖾𝗆𝗈 𝖽𝖾𝗂 𝖼𝗈𝗇𝗍𝗋𝗈𝗅𝗅𝖾𝗋 𝖾 𝗏𝖾𝖽𝗋𝖾𝗆𝗈 𝖼𝗈𝗆𝖾 𝗆𝖺𝗉𝗉𝖺𝗋𝖾 𝗅𝖾 𝗋𝗈𝗎𝗍𝖾𝗌 𝖺𝗂 𝗆𝖾𝗍𝗈𝖽𝗂 𝖽𝖾𝗂 𝖼𝗈𝗇𝗍𝗋𝗈𝗅𝗅𝖾𝗋 
✅ 𝖵𝖺𝗅𝗂𝖽𝖺𝗓𝗂𝗈𝗇𝖾 𝖽𝖾𝗂 𝖽𝖺𝗍𝗂 𝗇𝖾𝗅 𝖼𝗈𝗇𝗍𝗋𝗈𝗅𝗅𝖾𝗋 𝖾 𝖼𝗈𝗇 𝗅𝖾 𝖥𝗈𝗋𝗆𝖱𝖾𝗊𝗎𝖾𝗌𝗍 
✅ 𝖥𝗅𝖺𝗌𝗁 𝖽𝗂 𝗆𝖾𝗌𝗌𝖺𝗀𝗀𝗂 
✅ 𝖯𝗋𝗈𝗍𝖾𝗓𝗂𝗈𝗇𝖾 𝖽𝖾𝗅𝗅𝖾 𝗋𝗈𝗍𝗍𝖾 𝖼𝗈𝗇 𝖽𝖾𝗂 𝗆𝗂𝖽𝖽𝗅𝖾𝗐𝖺𝗋𝖾 
✅ 𝖠𝗎𝗍𝗈𝗋𝗂𝗓𝗓𝖺𝗓𝗂𝗈𝗇𝖾 𝖼𝗈𝗇 𝖦𝖺𝗍𝖾 𝖾 𝖯𝗈𝗅𝗂𝖼𝗒 
✅ 𝖱𝖾𝗀𝗂𝗌𝗍𝗋𝖺𝗓𝗂𝗈𝗇𝖾 𝖾 𝖺𝗎𝗍𝖾𝗇𝗍𝗂𝖼𝖺𝗓𝗂𝗈𝗇𝖾 
✅ 𝖨𝗇𝗏𝗂𝗈 𝗆𝖺𝗂𝗅 𝖼𝗈𝗇 *𝖫𝖺𝗋𝖺𝗏𝖾𝗅* 
✅ 𝖣𝖾𝗉𝗅𝗈𝗒 𝖽𝗂 *𝖫𝖺𝗋𝖺𝗏𝖾𝗅* 𝗌𝗎 𝗌𝖾𝗋𝗏𝖾𝗋 𝖼𝗈𝗇𝖽𝗂𝗏𝗂𝗌𝗈
  
𝖠𝗅𝗅𝖺 𝖿𝗂𝗇𝖾 𝖽𝗂 𝗊𝗎𝖾𝗌𝗍𝗂 𝗏𝗂𝖽𝖾𝗈, 𝖼𝗈𝗇𝗈𝗌𝖼𝖾𝗋𝖾𝗍𝖾 𝖫𝖺𝗋𝖺𝗏𝖾𝗅 𝖼𝗈𝗆𝖾 𝗂𝗅 𝗉𝖺𝗅𝗆𝗈 𝖽𝖾𝗅𝗅𝖺 𝗏𝗈𝗌𝗍𝗋𝖺 𝗆𝖺𝗇𝗈. 𝖭𝗈𝗇 𝗌𝗈𝗅𝗈 𝖵𝗂 𝗆𝗈𝗌𝗍𝗋𝖾𝗋𝗈' 𝖼𝗈𝗆𝖾 𝗌𝗂 𝖿𝖺 𝖼𝗈𝗇 𝖫𝖺𝗋𝖺𝗏𝖾𝗅 𝗆𝖺 𝖵𝗂 𝗌𝗉𝗂𝖾𝗀𝗁𝖾𝗋𝗈' 𝖺𝗇𝖼𝗁𝖾 𝗂𝗅 𝗉𝖾𝗋𝖼𝗁𝖾'.
 
𝖠 𝖼𝗁𝗂 𝖾' 𝗋𝗂𝗏𝗈𝗅𝗍𝗈 𝗊𝗎𝖾𝗌𝗍𝗈 𝗏𝗂𝖽𝖾𝗈?
- 𝖰𝗎𝖾𝗌𝗍𝗂 𝗏𝗂𝖽𝖾𝗈 𝗌𝗈𝗇𝗈 𝗋𝗂𝗏𝗈𝗅𝗍𝗂 𝖺 𝖼𝗈𝗅𝗈𝗋𝗈 𝖼𝗁𝖾 𝗏𝗈𝗀𝗅𝗂𝗈𝗇𝗈 𝖼𝗋𝖾𝖺𝗋𝖾 𝗌𝗂𝗍𝗂 𝗐𝖾𝖻 𝖽𝗂𝗇𝖺𝗆𝗂𝖼𝗂 𝖼𝗈𝗇 𝖫𝖺𝗋𝖺𝗏𝖾𝗅 𝖾 𝖺𝗉𝗉𝗅𝗂𝖼𝖺𝗍𝗂𝗏𝗂
- 𝖯𝖾𝗋 𝖼𝗁𝗂 𝖼𝗈𝗇𝗈𝗌𝖼𝖾 𝖫𝖺𝗋𝖺𝗏𝖾𝗅 𝗆𝖺 𝗏𝗎𝗈𝗅𝖾 𝖼𝖺𝗉𝗂𝗋𝖾 𝖼𝗈𝗆𝖾 𝖿𝗎𝗇𝗓𝗂𝗈𝗇𝖺
- 𝖯𝖾𝗋 𝖼𝗁𝗂 𝖼𝗈𝗇𝗈𝗌𝖼𝖾 𝗉𝗁𝗉 𝖾 𝗈𝗈𝗉 𝖾 𝗏𝗈𝗋𝗋𝖾𝖻𝖻𝖾 𝗂𝗆𝗉𝖺𝗋𝖺𝗋𝖾 𝗎𝗇 𝖿𝗋𝖺𝗆𝖾𝗐𝗈𝗋𝗄 𝗉𝗁𝗉