-
-
Notifications
You must be signed in to change notification settings - Fork 599
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
Recompile the frontend assets for usage in a sub-directory #635
Comments
I tried again and probably found a fix, which removes the necessity of recompiling the assets. Regarding the second question: |
Hi, I will be happy to test this. How do I install this branch with GIT? Thanks dor the answer regarding composer, I will remind this for next time if needed. Best regards |
You might need to revert local changes first, especially in the files that I changed in the PR (like webpack.config.js) Then change to your directory where you cloned Kimai and execute:
|
How did you install Kimai? |
Hi, I used the GIT installation from the documentation using my own version of apache (because I need it for the rest of the website) The command output is :
|
I didn't change myself this files, ... |
|
I tried it locally and it seems to work. I will merge it tonight and you can wait for the next release. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai. |
Thanks a lot for your software, the old version was practical, the new one look amazing.
I need to use Kimai in a sub-directory because I don't want to use a second IP only for this (it's on SSL).
I tried to to follow the documentation located at https://www.kimai.org/documentation/developers.html but has I didn't know all this framework and libraries that you use, it's a little bit difficult to "recompile the frontend".
First of all you said I must modify the variable "setPublicPath) that is actually set to "/build/". Do I need to put "/kimai/" if the directory after the root of my website is "kimai"?
Second, there is also a variable "setOutputPath", do I need to change it (because there is also the "build" inside)?
Third and I hope last question, when I run "bin/console kimai:test-unit", "bin/console kimai:test-integration" or even "bin/phpunit" I get an error that the file is missing (and it's the case on the file system). Where can I obtain this file?
Best regards
The text was updated successfully, but these errors were encountered: