I just put the build folder to the root folder of nginx server, e.g. /var/www/html, but nothing is visible.
When inspect from browser, the root content is empty?
enter image description here
Check your developer console for possible errors. You can also use React Developer Tools to debug your app. You can provide your non-sensitive code to make us understand it better.
Related
I have a working Directus CMS environment and would like to include some custom pages in there as well. According to the documentation!, I "can build page modules for custom dashboards, reporting, point-of-sale systems, or anything else".
The CMS is downloaded from directus, installed in localhost and then moved with FTP to the server as my client doesn't have terminal access allowed.
I already tried the boilerplate from https://github.com/directus/extension-toolkit, created a vue page with it, ran npm to transpile it, but now I don't know where to put it. If I put it to public > extensions > custom > pages (I put here the whole created folder), it's not shown anywhere and I can't really find any tutorial or help on how to do it. Not even in the docs.
You have to copy only the dist subdirectory of the extension to your server.
Example:
directus-extensions create page orders
directus-extensions build
rsync ./dist/ root#example.com:/var/www/directus/public/extensions/custom/pages/orders/
You should now see your page extension listed in the sidebar when you log in to your Directus app (provided your user role is configured to display extensions in the sidebar).
I have downloaded the QAF Maven project and imported into Eclipse. I have created BDD test case for one of the RESTFull service and I am able to run it as TestNG Test. I see the result folder created with the date and timestamp created under test-results folder. When I try to refresh the Dashboard.html I don't see any results and it’s empty.
Please let me know if I have to update my POM or any other property file.
Try opening dashboard.htm in firefox.
You need to open local dashboard.htm in Firfox (prefered), Edge or Safari. If you are opening in chrome you need to set allow file access from file. If dashboard.htm served through http server, for example jenkins then you can open in any browser.
I have an application that I'm trying to publish to my website. The error I'm getting is that when done publishing, it says:
So it looks like it succeeded, but didn't.
My website is located at www.mywebsite.com.
In my build properties, under the publish tab, I click options->deployment, then set deployment webpage title to 'rdl', then I check automatically generate deployment webpage after every publish
I then go through the Publish Wizard:
Specify the location to publish this application: ftp://www.mywebsite.com/
Click next.
Check From a website: Specify the url: http://www.mywebsite.com/
Check Yes, this application will be available online or offline
The final page then states:
The application will be published to:
ftp://www.mywebsite.com/
Users will launch this application from:
http://www.mywebsite.com/
Click Finish
I am then left with the error described in the image above.
When I go to cPanel (my web host), I am able to see the Application Files folder which includes my application folder inside it.My .deploy and .application file are also located there along with any assets I had.
This Application Files folder is on the same level as the public_html folder if that matters.
Any help would be appreciated, I'm not exactly sure where I'm going wrong!
I'm building a Node.js app called MouseApp. I notice when editing my app, which puts me in the Bluemix DevOpsServices Web IDE, I cannot see the Bluemix live edit, quick, restart and debug icons. They're just gone.
It does not happen for all apps though, I'm just not sure what distinctions I should be looking at between the 'good' and 'bad' apps.
Does anyone have any ideas as to why my icons are disappearing?
I did some digging and learned that there are a couple of reasons why this happens. All of these are in the context of the app you are editing.
The first cause is if the manifest.yml file is not stored at the top level of the app's project. Putting the manifest.yml file at the project root addresses this.
The second cause is if the app is stored in a subdirectory rather than the top level of the project, but the path to the subdirectory is not specified in the manifest.yml file. This was my cause of my problem. Once I added the path to the subdirectory to my manifest.yml file my icons were back.
path: path_to_MouseApp
The third cause is that the app does not contain a package.json file in the same directory as the app.
When the Live Edit icons are missing, it's because one or more of these problems have happened:
DevOps Services couldn't identify your project as a, well, project.
Fix: Create a project.json file at the root. This should cause some new buttons to appear in the toolbar: Create new launch configuration, Deploy, Stop, etc.
DevOps Services couldn't determine what folder your app lives in.
Fix: As suggested in another answer, you can create a manifest.yml at the root, and edit it so that it points at the app's folder with path: path_to_mouseApp. This will work. Or you can just move the app code into the project root.
After you do this, the Deploy button should become enabled.
DevOps Services thinks your app is not a Node.js app.
Fix: Create a package.json file in the app folder.
Once you've gone through these steps, the Live Edit buttons should appear.
While there are many questions here about a favicon not showing, I have one that is showing out of nowhere...
If I type in my browser http://localhost, I see the root of the web directory and no favicon.ico is there. Yet an icon shows up on the browser tab. If I type http://localhost/favicon.ico, the browser does show me the icon!
How can http://localhost/favicon.ico return something that does not exist?
I am using an iPlanet server linked to weblogic app container.
I searched for a favicon.ico in my entire web directory and weblogic domain, didn't find any (or rather: some others lying around but not the one I see).
I even searched for the string 'favicon.ico' in domain, web directory and iPlanet directory, in case it is in some configuration file, didn't find anything.
Any hint?
Edit: As pointed out by Sacha below, this is a default icon of the server. I would like to know where in the config it is located, and how to deactivate it. I found how to do that in documentation of iPlanet 7.0, but I am using iPlanet 6.0 and I can't find anything in the doc.
If there is no favicon.ico server displays a default one.It might be a xampp or wamp logo.If you want to customize put yours in your project root directory. Eg:- If your project name is saas put it in saas folder.
If going to localhost/favicon.ico shows you the icon, then it is there. I am not sure why it is not in the directory.
I was also facing the same problem in jBoss server of my jsp project in which the browser was showing by default server icon and there was no favicon.ico in my whole project directory
then i searched for the favicon on the server and it was there so i have remove that file from the server to remove any default favicon from my project.