Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate and deploy war #159

Open
iyush1993 opened this issue Dec 5, 2018 · 1 comment
Open

Generate and deploy war #159

iyush1993 opened this issue Dec 5, 2018 · 1 comment

Comments

@iyush1993
Copy link

How do I deploy war of admin in tomcat? I tried to do so and have been failing.

I guess there might be something we need to do with artifactId or something I am not sure. But I can access the login page via localhost:9090/mago3d-admin/login/login.do. But once I enter the correct credentials and hit enter, it gets redirected to localhost:9090/login/process-login.do. I should be redirected to localhost:9090/mago3d-admin/main/index.do but it is just not working.

I am new to spring boot and have no clue what to do.

@cheonjeongdae
Copy link
Contributor

I used Google Translator.

Forgive me for being late.
I was on business.

Is it possible to run mago3d-admin in a local environment?
Can I go to the main page after logging in?

https://github.com/Gaia3D/mago3d/issues/157
In the above document, there is local environment setting in Korean.
Google Translator will help you understand the content.

If you succeeded in a local environment
On the server
nginx + tomcat or
You can run tomcat alone.

If you run gradle build on local
The war file is created in build / libs /.
Put it under tomcat's webapps.
For linux server, window and configuration file
For example, the directory path is different
Put it in the real folder
gradle build -Pprofile = real
To apply settings for your server.

For f4d files
nginx root or
In tomcat alone, under the webapp of the deployed war
so that f4d can be created.
For tomcat alone there is no problem with source distribution
In the case of war distribution, war is decompressed every time you reboot.
I think we should put f4d inside war.
Build.gradle is now commented out so that it does not package the f4d directory into war.

The rest seems to be the same as local.

If not, please contact us again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants