...
You need to copy the folders images, locales and static from this build folder so that they can be accessed from the previously chosen root path for DatafariUI, in my case:
To build the production ready version of the app go to root folder of the project and run:
Code Block |
---|
scp -r build/images build/locales build/static myuser@myserver:/var/www/html/testdatafariui |
...
Open the index.html file from the build folder (build/index.html) of the datafariui project (the file content is written on one line, you can reformat it to help you copy the required elements). From there, identify and copy the 3 scripts elements at the end of the body and add them to the end of the body of your page. They should look something like the following:
...