Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Nov 7, 2026
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Nov 4, 2026
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
PHP ~ Laravel Framework ගැන
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="P_Namal" data-source="post: 21101379" data-attributes="member: 54700"><p><span style="font-size: 12px">සුබ අලුත් අවුරුද්දක් වේවා එහෙනම් කට්ටියටම. </span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">අපි අන්තිමට Laravel install කරගෙන ඉවර වුනානේ. දැන් ඒක run කරගමු. Vagrant වලින් කරනවා නම් කෙලිම්ම ip එක ගහන්න තියෙන්නේ. එහෙම කරනවා නම් default root path එක Laravel installation directory එකේ public directory එකට දෙන්න ඕන. </span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">locally WAMP / LAMP වගේ එකක් use කරනවා නම් virtual host එකක් හදල public folder එකට path එක සෙට් කරන්න.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Virtual host වැඩ කරන්න නම් apache vhosts module එක enable කරලා ඉන්න ඕන. url එක hosts file එකේ දාන්නත් ඕනි.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">උඹල හරියට හදාගත්ත නම් url එක ගැහුවම මේ වගේ screen එකක් එන්න ඕන. (එහෙම නැත්තම් ඉතිරි ටිකත් කරගෙන යන්න.)</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><img src="https://www.paul-hayes.org/wp-content/uploads/2016/08/Screen-Shot-2016-08-23-at-8.28.58-PM-300x161.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">තව පොඩි වැඩ ටිකක් තියෙනවා.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Root එකේ තියෙනවා Storage කියල directory එකක්. ඔකේ ඇතුලේ තමයි cache files , log files එහෙම වදින්නේ. ඒ නිසා ඔය folder එකට write permissions දෙන්න ඕනි. උබල ඉන්නේ Unix machine එකක නම් තමයි මේක ගොඩක් වෙලාවට අවශ්ය වෙන්නේ.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">sudo chmod -R 777 Storage/</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">ඔය command එකෙන් Storage folder එකට අවශ්ය permissions ලැබෙනවා.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">තව මේකේ default එනවා .env.example කියල file එකක්. මේ file එක rename කරන්න ඕනි .env කියල. </span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">.env file එක ගැන පොඩ්ඩක් කියල ඉන්නම්. මේ file එකෙන් මුලිකව කියන්නේ project එක install කරලා තියෙන environment එකේ තොරතුරු. උද: Database details. Project එක තියෙන්නේ locally නම් මෙතන එන්නේ localhost එකේ details. Live server එකකට host කරාම එන්නේ ඒ server එකට අදාල details. ඒ නිසා මේ file එක කිසිම වෙලාවක commit කරන්නේ නෑ. gitignore file එකට දාල තියන්න ඕනි commit වෙන්නේ නැති වෙන්න. එතකොට server එකට දැම්මම එකේ අලුත් .env file එකක් හදල අදාල details දාන්න ඕන.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">install කිරිල්ල නම් ඔච්චරයි basic ටික. <img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /><img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">ඊළඟට බලමු Routing...</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p></blockquote><p></p>
[QUOTE="P_Namal, post: 21101379, member: 54700"] [SIZE="3"]සුබ අලුත් අවුරුද්දක් වේවා එහෙනම් කට්ටියටම. අපි අන්තිමට Laravel install කරගෙන ඉවර වුනානේ. දැන් ඒක run කරගමු. Vagrant වලින් කරනවා නම් කෙලිම්ම ip එක ගහන්න තියෙන්නේ. එහෙම කරනවා නම් default root path එක Laravel installation directory එකේ public directory එකට දෙන්න ඕන. locally WAMP / LAMP වගේ එකක් use කරනවා නම් virtual host එකක් හදල public folder එකට path එක සෙට් කරන්න. Virtual host වැඩ කරන්න නම් apache vhosts module එක enable කරලා ඉන්න ඕන. url එක hosts file එකේ දාන්නත් ඕනි. උඹල හරියට හදාගත්ත නම් url එක ගැහුවම මේ වගේ screen එකක් එන්න ඕන. (එහෙම නැත්තම් ඉතිරි ටිකත් කරගෙන යන්න.) [IMG]https://www.paul-hayes.org/wp-content/uploads/2016/08/Screen-Shot-2016-08-23-at-8.28.58-PM-300x161.png[/IMG] තව පොඩි වැඩ ටිකක් තියෙනවා. Root එකේ තියෙනවා Storage කියල directory එකක්. ඔකේ ඇතුලේ තමයි cache files , log files එහෙම වදින්නේ. ඒ නිසා ඔය folder එකට write permissions දෙන්න ඕනි. උබල ඉන්නේ Unix machine එකක නම් තමයි මේක ගොඩක් වෙලාවට අවශ්ය වෙන්නේ. sudo chmod -R 777 Storage/ ඔය command එකෙන් Storage folder එකට අවශ්ය permissions ලැබෙනවා. තව මේකේ default එනවා .env.example කියල file එකක්. මේ file එක rename කරන්න ඕනි .env කියල. .env file එක ගැන පොඩ්ඩක් කියල ඉන්නම්. මේ file එකෙන් මුලිකව කියන්නේ project එක install කරලා තියෙන environment එකේ තොරතුරු. උද: Database details. Project එක තියෙන්නේ locally නම් මෙතන එන්නේ localhost එකේ details. Live server එකකට host කරාම එන්නේ ඒ server එකට අදාල details. ඒ නිසා මේ file එක කිසිම වෙලාවක commit කරන්නේ නෑ. gitignore file එකට දාල තියන්න ඕනි commit වෙන්නේ නැති වෙන්න. එතකොට server එකට දැම්මම එකේ අලුත් .env file එකක් හදල අදාල details දාන්න ඕන. install කිරිල්ල නම් ඔච්චරයි basic ටික. :):) ඊළඟට බලමු Routing... [/SIZE] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom