-
Notifications
You must be signed in to change notification settings - Fork 58
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
Production mode is not working #95
Comments
+1 |
@immortalcy If you copy everything from ui/dist to /public it will work in production mode. It's just a pain to need to do this each time you do a Grunt build. |
Thanks for the tip, but yes as you said it not optimal. By the way I was trying to compare the two latest releases (0.8.1 with latest) and there doesn't seem to be any major differences. Was just wondering where the problem could be.. |
+1 I have same issue here |
@immortalcy
And on register Now its automatically do the copy, this workaround must be work until this plugin got fixed. |
When I run the latest release of play-yeoman in production mode I found out that it doesn't work. At first I thought that this was the same issue with #90 but now I think it is not.
After cloning into a new folder here are the commands under yo-demo folder I run:
sbt
npm install
bower install
dist
When I try opening the application [
http://localhost:9000/ui/
] I get the following error:Not Found
For request 'GET /ui/'
To relate this with #90 , this not an
Action Not Found
error but aNot Found
error. If you try to openhttp://localhost:9000/tdemo
it works normally.If you extract and check
yo-demo.yo-demo-1.0.0-assets.jar
you will see that it doesn't contains any files fromui
directory. Shouldn't all the files be there in their minified version, or is that a wrong.jar
file I am looking at?The text was updated successfully, but these errors were encountered: