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:
- I have gone into the “Apps” config page in the admin web interface
- Selected my app from the list
- Under ‘App Location’ I selected “On this web server”
- 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/