bfabiszewski / ulogger-server

μlogger • web viewer for tracks uploaded with μlogger mobile client
GNU General Public License v3.0
538 stars 85 forks source link

js/dist/bundle.js is missing #114

Closed jpfox closed 4 years ago

jpfox commented 4 years ago

Hi,

After upgrade to last version (today), ulogger/js/dist/bundle.js is missing

Have I to install npm and all necessary dev stuff to get it ?

Thanks for your help

bfabiszewski commented 4 years ago

You are fast!

I am preparing to release new version, but it is not production quality yet.

You may test it but there are still things that need to be fixed and documented. For example there is small change in database scheme.

Generally from now on for the development version you will have to build javascript bundle yourself by installing npm and dependencies. Basic instructions are in Readme.

Or you may wait for 1.0 release to be ready. I will upload it then with prebuilt javascript bundle.

jpfox commented 4 years ago

Oops, sorry, I had not seen that there were commits after 0.6 tag. I've just revert to 0.6 tag commit and all is fine now. Just had to convert mysql connection config (dsn mode).

Thanks for your quick answer.

My friends, family members and I are happy to use a "libre" solution to track our path without beeing tracked ;-)

KoljaL commented 4 years ago

Is there a way to get a pre-version of the bundle.js? My ulogger runs on a webspace and i cant install npm.

By the Way: Thank you for this logger :-)

bfabiszewski commented 4 years ago

Maybe you could install it locally, generate bundle and upload to your server?

KoljaL commented 4 years ago

I could try, but i don`t have experience with it.

What is the reason for this way, to create this file after the installation?

bfabiszewski commented 4 years ago

The reason is the necessity of synchronization between distribution bundle and source code. I should probably create a hook on commit or push. As such the build process will slow down a bit each git operation. And usually users that want to use development branch are able to use required build tools. But you may be right that in our case, with infrequent releases, it would be better to provide the bundle.

bfabiszewski commented 4 years ago

I added js bundle to development branch.

KoljaL commented 4 years ago

Great, it works .-)