Hosting a Etherdelta like frontend - ethereum

i got a (etherdelta-like) decentralized exchange script and decided to install it on cpanel as i am not very familiar with linux commandline as the installation instruction is done with ubuntu commandline (https://bitexchange.systems/help/viewtopic.php?t=237). But it does not seem to be working. Is there a way i can use mysql for the offchain record instead of mongodb? here is what i have at acecrypto.io.

You can upload it by following these steps:
Login to Cpanel
Click File Manager
Select the Web Root (public_html/www) option and click Go
Click the Upload button
Click Browse and upload all of the HTML, JS, CSS, and any other website assets
Click Upload
Test your website is accesible

Related

How to deploy service based web apps on apache in linux?

So i have a Linux based Server having webmin
And i made an web application having some css/js and a html and i put that folder in var/www/html/TestAPI
installed Apache Web server and every other module recommended
My question is ,how do i make this run as a service,like when i ping the HTML inside this folder it opens up but doesnt load any js/css
How do i execute this when i just open TestAPI
eg:- http://11.11.11.11/TestAPI
(Tried using index.html)
I dont want to use php
Any Help would be deeply appreciated

Publishing Lightswitch localy

I'm trying to publish ligthswitch on local network with from VisualStudio 2013,
I have installed IIS and launched web-deployment services. I Think I also installed all the possible features from web platform installer.
When I publish lightswitch app I get to this screen.
and I dont know how to get pass this service Url line. Whenever I type localhost or Computer name which is the server name, perhaps? I get an error
"Lightswitch must be run with administrative privileges to deploy to local host.
I fugured I could also just use import settings file. It could be alternative way.
but how do I create this xml file.
I've answered this for you before. You may have missed a step:
Open IIS
Locate "Default Web Site"
Right click and find Deploy -> Configure Web Deploy Publishing... (This step will create the XML file that you can use for Import Settings...
(If this menu option isn't available it means you haven't got the Management Service installed. And/or you haven't got the ALL of the Web Deploy 3.5 components installed.)

Hosting web app on xampp

*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

Download .msi to client and run automatically

Here's the requirement:
1. An uninstall .msi is packaged and placed in IIS server location.
2. The user would be presented with a html page or asp.net page with a link shown in the page.
3. Clicking link in the page, the .msi should be downloaded to the client machine and automatically run.
My main doubt is whether, we can download and automatically run the .msi.
Please share different approaches to implement this requirement.
Thanks in advance.
You cannot do that. Thats what you call 'malicious scripts' unfortunately. Only if he downloads it manually, and runs it, it will be installed.
As Christopher Painter has already pointed out you could use ClickOnce to achieve it, its one of the Deployment Strategy of the ClickOnce technology.
Install from the Web or a Network Share
Using this strategy, your application is deployed to a Web server or a
network file share. When an end user wants to install the application,
he or she clicks an icon on a Web page or double-clicks an icon on the
file share. The application is then downloaded, installed, and started
on the end user's computer. Items are added to the Start menu and the
Add/Remove Programs group in the Control Panel.

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).