Hosting web app on xampp - mysql

*I hav made a small demo web app(using html5, and jquery mobile)
*I have installed and set up Xampp
*set passwords for local server
* I am confused as in what to do next, where do i store my .html files and other resources
*I need to test my app on a network
*I want to set up a database using xampp ,(i have no idea how to)
*edit: since its a mobile web app, i want to test it from my mobile, is it possible by hosting it on my pc ? If yes, then how?

If you have the apache server running on xampp, you have to put the files in the /htdocs map. This is usually located in something like C:/xampp/htdocs. Then you go to your localhost in your browsers, so localhost and then /example.html.
This would be for example localhost/example.html, this would redirect to the example.html file in the htdocs folder.
Then if you want to set up an mySQL database you should take a look around at localhost/phpmyadmin

Related

I have tried installing Mifos X on Xampp. It's worked as I could access the UI on my browser but I had lots of problems with the credentials

I recently installed Mifos X on my laptop on Windows 10 Pro using the Xampp server.
I put the fineract folder in the htdocs as I would with all the other framework. Only problem, after following all the steps, I was using mariaDB server and I set the password differently from the one they suggested (note: I followed all the instructions only changed the MySQL Server pword differently and was using pma as workbench).
I would like some assistance on how to fix the credential problems as well as being able to set up the incubator-fineract for developers.
Thank you!
You need to place the war file inside the tomcat webapps directory and I strongly suggest that you use the pre-defined username and password for mysql connection , if you like in production you can do this so by editing this file
https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/db/DataSourceProperties.java
Apache Fineract uses self singed certificate , one has to open the https://localhost:8443/fineract-provider/
You will see the screen to accept and store the certificate in your browser and then you can login via your UI.

Is there a quick way to import my external css files so that I can convert my dynamic webpage into a static one?

I have a wordpress site and I want to be able to make one of the pages 'standalone' html so that I can display it in a browser that's not connected to the internet. Any ideas?
To get a local copy of your actual page view user Ctrl+s. This will not include all css/js and might be not what you want. Its a better screenshot.
To get a fully working local version install xampp to get a webserver and a mysql server.
https://www.apachefriends.org/
Download you WordPress instance and move it in the htdocs directory that is inside the xampp installation.
Create a mysqldump of your wordpress database and load it into your local mysqlserver.
Configure your local WordPress instance so it can connect to the database.

How to open a HTML file on remote machine on local browser

I have written a simple HTML file on an EC2 instance. I want to check if it functions as desired. Is there a way I can open it on my local browser for testing?
EDIT: The output depends on some configurations which are present only on the remote machine!
You will need to install and start apache, placing the HTML vile in the www directory on the sever. Then open port 80 in your ec2 security group, but specify this rule to only be for the public IP of your home machine.
If its a HTML file you can open it directly from your desktop but if is a php file you need local server such as Xampp or wamp. If you want to edit it you can have a code editor such as notepad++ ect.. Hope this helps
If I understand you correctly. .. just open the file. It will run in your browser. It is just text. It is your browser that runs it.

Looking for a (httpd like) way/server to access static files (html/images etc) from my windows pc using http

I have a static html project which contains some files I want to have access to using my cell phones or laptop's internet browser.
The concept is I have a folder in my pc which contains the files.
I would hit my computer's IP through the web browser of my laptop
(like http://192.168.1.5/myProject/index.html)
and then a server (like apache httpd works for redirecting to servers) would return me the wanted file.
NOTES:
-It should be EASY and FAST to install and Configure.
Any suggestions? Most acceptable answers are for Windows and then I accept for mac!
Have you tried xampp for an apache server? There is a portable app version as well.
Also iisexpress is a nice standalone version of IIS that runs under current user profile. Not sure if there are any limitations w the bindings tho.

Uploading MVC Website and MySQL to Webhost

I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com
How do I:
upload my models, views and controllers to the public_html folder of 000webhost?
get my MySQL database up and running on 000webhost?
Thanks in advance
I am presuming that your control panel is cPanel. If thats the case then upload all your files in the web root of the server. Create a database, and change that details in database.php inside config folder. thats it, your site will be up and running.
Your .htaccess (at least mod_rewrite for codeigniter) will not work if you use the free 000webhost service (at least the last time i wanted it, the support told me that they doesn't support it... that was thy time i signed up for their free service for private test of scripts i wrote). Another thing is that for the free hosting they use their own control panel (not cPanel), cPanel is for the paid accounts.
Anyway they both offer ftp accounts, mysql databases and of course web ftp (online file manager). All you need is a ftp client (such as FileZilla or even Windows Explorer itself).