Skip to content

Deploying miniPaint to Tomcat server not documented in readme.md #428

@jkerich3

Description

@jkerich3

In the README.md file there are no instructions on what needs to be done to successfully deploy miniPaint into tomcat/webapps. The normal way should be to copy the dist files (npm run build) in a webapps/miniPaint directory after verifying the package.json homepage setting ("homepage": "https://github.com/viliusle/miniPaint") was set to the webapps location "homepage": "miniPaint". However, that did not work since files were missing. Copying the miniPaint/index.html file to webapps/miniPaint also was not enough. Only by copying the enter directory structure (cp -r * ../webapps/miniPaint) did tomcat successfully run miniPaint.

Now clearly there should be a lot of directories/files that are not required to be copied into webapps/miniPaint like the modules files (because they should have been bundled up in the dist js files).

Please update the README.md to talk about deployment and what directories or files can be removed. Also, I am using 8484 as the tomcat port. It does not appear to be a problem for miniPaint, but it would be useful to say that in the deployment section.

I am going to do a delete stuff out and see what happens by trial and error, but if you could list what can be clear out and email me that would be verry helpful. Again, thanks for you supported in this matter.

John.Kerich@frequentisdefense.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions