Comments (9)
Thanks for your quick reply. I was just wondering if you will enable a updating method:
Update: In order to update your application, go to the /update url and follow the instructions.
There currently isn't an update route. Just wondering 👍
from laravel-installer.
Hi @Chinese1904 ,
Sorry, i did not get your question. Where do you want this to be implemented?
from laravel-installer.
This would be awesome if implemented :)
from laravel-installer.
how can i redirect from install to main page if it's already installed?
from laravel-installer.
@hyvikk You do not need to open the /install in that case.
from laravel-installer.
what I have done in my case is actually redirect if /install is called after it is installed, because visitors are not supposed to see that site. :-)
from laravel-installer.
@Chinese1904 Perfect. Make Sense
from laravel-installer.
@Chinese1904 Can you share your redirect fix / maybe offer to pull it into here for us others to use? :)
from laravel-installer.
There are a lot of options actually and it will depend on what you want to achieve. Right now there seems to be a bug, because it should throw a 404 error if it already is installed and the installed routes get accessed, but it does not.
The easiest way is to modify the routes.php
file like this while the bug hasn't been fixed:
if (! File::exists(storage_path('installed'))) {
// all the installer routes here
Route::get('/', [
'as' => 'welcome',
'uses' => 'WelcomeController@welcome'
]);
...
} else {
abort(404); // or redirect anywhere else
}
Make sure to not delete the installed
file.
If I find some more time, I will look for the bug later. :-)
edit:
please try this PR #8
from laravel-installer.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-installer.