I have worked in one project which is built up with laravel , XAMPP Server which is replicate of desktop application created in .net
I need help regarding , how can I convert whole thing including my laravel PHP projects, xampp server and all required files into .exe file which is stand alone for Windows application. Can anyone help me if there is anyway to make .exe file.
I think it is not possible because in laravel we can make only web based applications and whereas in .net we can make both web and desktop based applications.
see PHPDESKTOP at https://github.com/cztomczak/phpdesktop you can place the laravel code in www folder and might need to change some settings and files location to run the app.
And this repo at https://github.com/williamnwogbo/laravel_desktop contains laravel with phpdesktop.
Also there is one more project laragon https://laragon.org/ but its only a portable webserver and dbserver with additional features to add like node.js, python etc. It provides easy click interface to install laravel or php frameworks. You can explore how to use it.
Related
I have deployed AbpBoilerplate ASP.NET CORE with the jQuery option.
Deployed successfully but the system is not able to find the min js files and jquery is also not able to find in shared-layout page.
Is there any bundle config I need to set?
Please let me the flow as abp is not giving any deployment steps.
Note: I am using myasp.net as hosting service.
You need to restore the client-side libraries before you run the application.
From https://aspnetboilerplate.com/Pages/Documents/Zero/Startup-Template-Core:
Since it uses libman, go to Web.Mvc project. Right click to libman.json file. Then click to Restore Client-Side Libraries.
(If you are not using Visual Studio and/or you are on a mac you can use Libman CLI . After installing it while in Web.Mvc folder run libman restore)
I am a newbie when it comes to Laravel 4.
I would like to ask if there is a way to install Laravel 4 without internet?
If there is a way to do this, can you include a link or a tutorial on how to do this?
Thanks!
I would like to ask if there is a way to install Laravel 4 without internet?
Well you need The Internet to do the initial download of Laravel - but you can then move it to another computer that has no internet access:
Download the Laravel framework from here (either via git - or just 'download' the zip file) into your project folder.
Run composer install - which will grab all the associated vendor dependencies that Laravel needs to run.
Copy the entire 'project folder' (including the vendors directory) to another computer
You can read more about Laravel installation from the official documentation. Basically once you have it working - you can then just 'copy' it to whereever you need it.
Although I'm new to Laravel 4, there has been one question on my mind since day one which I cannot seem to understand, nor find any information on.
My plan is to build an open source web application, which other users will be able to download and use on their own server. Now my current way of working is:
Install Laravel with composer
Add packages to composer than I need for the application
Start coding: editing files directly inside of app/ (global.php, routes, controllers, views, migrations etc).
Keep all of my assets within /public/assets/
This works fine for me, and I have no problems with it. However the question is:
How will I deploy the application to users if I build it this way? If they install Laravel via composer, all of the files within /app will be default (obviously), so how would I go about getting my edited + custom files into their install of Laravel?
Do I have to build the whole application as part of my own bundle? Or is there some kind of way composer can pacakge what I've done to solve this problem I can see happening?
I'm just throwing words out, if someone could explain and point me in the right direction that would be great.
Thanks.
You can just chuck all your files on github. You dont need to include composer. People can download composer and run it from the install directory (or if they have it globally run it from there)
If you run a composer install with laravel 4 only, it will download all fresh. In your case you just have all the library's in place already. So for future updates you as a developer can easilly upgrade to a newer version. The "users" can simply say "git pull" to update their instance. You still need composer to do your initial install (db seed, post install steps etc)
At least that is my point of view. Just look at a simple laravel 4 bootstrap example https://github.com/andrew13/Laravel-4-Bootstrap-Starter-Site it also holds all the files.
Every time I want to add new code to my site I have to modify the file outside of users view to debug it before updating the real file users see.
I usually create a copy of the file I want to change and test all changes on it but sometimes this files only appear included on another and I have to create two copies and sometimes it becomes even more complicated.
How is this normally done? Are there any tools to simplify the process, for example and enviroment to test my site on my PC so I don't have to upload files to the server each time I update something. Any info about beta testing new features will be thanked.
Most people have a 2nd server (potentially a virtual machine) configured exactly the same as their live (production) website. Where this 2nd server is located is completely up to you, but it should match your live site by using the same versions of software and same file structure.
I also like the idea of a staging server suggested by Sean. Again, your post doesn't say too much about your production web server and all of the features that you're using (are you running scripts on the server? PHP? some version of SQL?). But for a simple setup, you can run a copy of the Apache web server on your own PC, or something a little more lightweight like the XAMPP server.
I have been trying to find a neat tutorial, guide or step by step instructions for deploying an Asp.net MVC3 webapp but have found nothing so far. Everyone talks about his version of the stroy and different type of MVC versions.
Right now, I have build a simple Asp.net MVC web application which i need to deploy on my shared hosting account. In a very simple manner, I need to know which files should i copy. Do i upload everything in my webproject directory to the server including the controller directory, views, models, content and bin directory ?. What about the Global.asax, web.config, packages.config, myapp.publish.xml.
In short, I have no idea which files should be uploaded and which should be not. I am sure of one thing that i need few(MVC and Razor dlls) following dlls in bin directory. Just treat me as someone who has never deployed any website
NOTE:- I don't have VS SP1 installed and it doesn't install either. Basically i need a manual procedure.
Here is a tutorial on the MSDN site about how to deploy an MVC application. Typically, hosts will also now have WebDeploy available, which is a very easy way to deploy and update your application without having to worry about what files to copy.