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

Does the server work on Linux? #13

Closed
sven-n opened this issue Jan 10, 2018 · 3 comments
Closed

Does the server work on Linux? #13

sven-n opened this issue Jan 10, 2018 · 3 comments

Comments

@sven-n
Copy link
Member

sven-n commented Jan 10, 2018

Would be interesting if it would run correctly on Linux. Current mono supports .net 4.7, so it should work. Compiling also works as Travis CI is actually running on Linux.
To take this further, it would be nice to know if it would run on ARM servers (e.g. scaleway), too.

@sven-n
Copy link
Member Author

sven-n commented Jan 11, 2018

After some minor adjustments I got it working on Linux (Arch), except building of the AdminPanel's javascript.
The goal is to be able to build and run it on Linux right after cloning the repository.

@sven-n
Copy link
Member Author

sven-n commented Jan 15, 2018

To get closer to build AdminPanel under Linux, you have to use msbuild - it's not possible to pass the OutputPath to the other targets with xbuild - a bug?
Then TransformBabel needs a windows-independent JS-Engine (VroomJs), however I didn't get it to work. The documentation for React.NET on Linux is flawed, as it depends on a SVN repository which is not available anymore.
CopyScripts works - except the bundling of CSS/JS. The new msbuild somehow behaves differently and stops building :-(
All in all, running the server on Linux works, but building doesn't. We may look into improving that at a later date ;)

sven-n referenced this issue Jan 15, 2018
As I can only guess, msbuild.exe was called manually because otherwise
it's not possible to pass the OutputPath to the other targets - a bug of
mono's xbuild?
However, as there is now msbuild, we can use a cleaner syntax now.
However, building under linux still doesn't work completely.
TransformBabel needs a windows-independent JS-Engine (VroomJs), however
I didn't get it to work.
CopyScripts works - except the bundling of CSS/JS. The new msbuild
somehow behaves differently and stops building :-(
@sven-n
Copy link
Member Author

sven-n commented Jan 15, 2018

Created #15 to track the building issue.

@sven-n sven-n closed this as completed Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant