jor1k icon indicating copy to clipboard operation
jor1k copied to clipboard

Laravel

Open websemantics opened this issue 9 years ago • 7 comments

First, such great work with endless possibilities,

Looking into running an http server (Apache, any), and Laravel which requires Composer a php package manager,

I already downloaded the project, compiled but still working on the network setup, .. any pointers of where to start with getting Laravel to work? Also Apache Ant?

Is that even possible? .. Crazy :)

Much thanks,

websemantics avatar Sep 22 '16 22:09 websemantics

I haven't tried it myself, but Apache should be possible to get working. However, at the moment the amount of packages/binaries that are available for OpenRISC is limited. They all need to be recompiled. Getting PHP working as a CLI would be the first step before jumping into having the PHP module for Apache working.

Also, this compilation especially complicates the situation with Java. While it might be possible to compile OpenJDK, it might not be the target some tools expect. Some rely on functionality that only exist in the Oracle Java JDK/SDK.

I would say, not impossible to get PHP going (minus a lot of extensions), ... and this would probably be the first step.

gbraad avatar Sep 23 '16 08:09 gbraad

Since you both seem to have the OpenRISC suite working, can anyone help me out getting it going?

It seems to be hosted on OpenCores.org, but every time I've tried it over the last 1.5 years I've been unable to connect to it.

I've made a project, jorconsole, that lets you run this Jor1K emulator in a terminal and native file access, in Node.js. I'd like to compile more applications for it. I've never been able to grab the tools though, and more complex projects like NetHack are not easy to get compiled within the emulator itself.

andrakis avatar Sep 23 '16 09:09 andrakis

I just went through openrisc, reminded me of my computer engineering days, but now I know what's required to get anything to work on Jor1k,.. thanks @gbraad

Also, I found out that, there's already a RISC port of PHP and a HTTP server called, WebJames, .. very promising, .. I will look into running Java, possibly node.js afterwards,

@andrakis, I just found out about this project last night, so I know how to install, git clone , git submodule init,git submodule update, but If I make any progress, I'll contribute them back somehow,

Thanks everyone for this project,

websemantics avatar Sep 23 '16 13:09 websemantics

@websemantics, Thank you I hadn't come across that site. I can finally start developing for it properly!

I've learned a lot from working with the code of this project, and I'm fascinated by emulation and virtual machines. I'm not aiming for production use, I'm just having fun with it.

Edit: One of the projects I'd like to provide for this emulator is a package repository for installing common applications. At the moment everyone has to find a toolchain and manually compile. If I could get a common repository service going (rpm, apt, whatever) then the emulator would be that much more friendly to work with.

andrakis avatar Sep 23 '16 13:09 andrakis

@andrakis and @websemantics if it helps any, you can find the network proxy on docker hub at https://hub.docker.com/r/benjamincburns/jor1k-relay/ -- if you have any trouble running it, please raise an issue on benjamincburns/websockproxy.

Regarding package management, see #126 for some recent (but limited) conversation around porting a more complete distro.

benjamincburns avatar Jan 28 '17 08:01 benjamincburns

@benjamincburns Thank you so much for the Docker image. So simple to setup and get running! The instructions on your GitHub page were all I needed to get going. I now have local networking!

andrakis avatar Jan 29 '17 04:01 andrakis

Thanks for that @benjamincburns .. I'm playing with jor1k these days, built Linux.js which helps me understand the project, and make it easy to build the file system and the other parts, .. so the WebSockets Proxy would come quite handy

websemantics avatar Jan 29 '17 14:01 websemantics