Where do I install my application web files

I have successfully been using dreamfactory for my application for REST calls, but now I would like to have it also serve the application web files.

What I have done:

  1. I have gone into the “Apps” config page in the admin web interface
  2. Selected my app from the list
  3. Under ‘App Location’ I selected “On this web server”
  4. Typed ‘app-name/index.html’ in “Path to Application”

This then provides a URL that should be used to get to the application.

I then used the “Files” config page to create a ‘app-name’ directory and uploaded a simple index.html file into it.

Then when I go to the URL that was given to me, I just get a white page with “Could not find a service for app-name” written at the top.

Am I installing the files in the wrong place? Do I need to create a new service with this name?

The version of dreamfactory I am using:

Admin Application Version: 2.5.1
DreamFactory Version: 2.4.2
System Database: mysql
Install Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/
Log Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/storage/logs/
Log Mode: single
Log Level: DEBUG
Cache Driver: file
Cache Path: /opt/dreamfactory-2.4.2-0/apps/dreamfactory/htdocs/storage/framework/cache/
Demo: false


Is there a better place to post questions like these?

If you use the file service you have to enable it to serve data from the app folder. The easiest way to get this working and learn how it works is to use the example.

From what I remember the confusing thing is that “On this webserver” and “From file service” (or whatever) are not the same thing.

The address book example runs from the file service.