Instructions to make in work
Hello, Thanks for this piece of software, I love it. I'd like to add some new features, but first I need to get it working. There are too many new things in this project, React, lua, moonscript. I tried to make in work installing luarocks, lua, react, node,etc.. but seems that some dependencies are broken.
Can anyone provide some brief instructions to make it run. Thanks in advanced.
That exactely is the problem for us, who want to contribute. I asked about the same question just about a year ago, but got no response. leafo seems to be busy with other projects or simply has lost interest in the project, which to some extent I can understand if you see that most of the people are highly motivated, sometimes asking for new features but in the end stop using the tool after a few days, maybe a week.
I finally ended up setting up my own server and working on the resulting js which is a pita but works for me. have a look into my post #71 if You're interested in more details
kind regards
Frank regards
Hi @ddTech. It's good to know that there are more people interested in this project. How did you manage to make it work? Can you write a brief set up guide? Regards
Hi, not really, unfortunattely. As I mentioned in my post I am using a server that we use for other projects and which received some code to mimic the original behavior. I'm not working with the codes from this repo, but with the resulting main.js (and lib.js) instead. This is totally proprietary and was never meant to become a permanent solution. The server is neither, iis, Apache nor node. Nothing You could download or setup. it's our own creation for a specific task which just happened to be available and flexible enough to get this up and running.
regards
Frank
I got the basic app working (didn't check login and stats as I don't use them). I wanted to leave some breadcrumbs (this is not a step-by-step but more of a stream of conciousness of what I remember from the setup) for launching it yourself:
- After cloning the repo, run
npm install, then try getting the./ci.shscript to complete without errors. To do this, you'll need:
luarocksinstalledlibssl-dev(to avoid the "CRYPTO header" errors) https://github.com/leafo/lapis/issues/632#issuecomment-501306531discountorlua-discount(this is a markdown compiler library) to avoid the "DISCOUNT header missing" errors
-
After ci.sh runs successfully (if you run it a second time there'll be errors that "something already exists" because you're running it for the 2nd time - they're ok to ignore), run ./build.sh (maybe lua-discount was needed on this step, not the first one?)
-
Run
$ lapis serverthen go to localhost:9090. The env vars fornginx.confcome from theconfig.moonfile
If you're trying to add a new feature and modified some .jsx files in the repo, after writing the .jsx run $ ./build.sh again then refresh the page (lapis server can keep running. No need to restart)
Thank you, it's work. But Midi keyboard not detected on Mac Os Big Sure
MIDI support not detected on your computer. You'll only be able to use the on-srcreen keyboard and build in synthesizer. (Try Chrome for MIDI device support)
I got the basic app working (didn't check login and stats as I don't use them). I wanted to leave some breadcrumbs (this is not a step-by-step but more of a stream of conciousness of what I remember from the setup) for launching it yourself:
- After cloning the repo, run
npm install, then try getting the./ci.shscript to complete without errors. To do this, you'll need:
luarocksinstalledlibssl-dev(to avoid the "CRYPTO header" errors) Error: Failed installing dependency: https://luarocks.org/luaossl-20180708-0.src.rock - Could not find header file for CRYPTOÂ lapis#632 (comment)discountorlua-discount(this is a markdown compiler library) to avoid the "DISCOUNT header missing" errors
- After ci.sh runs successfully (if you run it a second time there'll be errors that "something already exists" because you're running it for the 2nd time - they're ok to ignore), run ./build.sh (maybe lua-discount was needed on this step, not the first one?)
- Run
$ lapis serverthen go to localhost:9090. The env vars fornginx.confcome from theconfig.moonfileIf you're trying to add a new feature and modified some .jsx files in the repo, after writing the .jsx run
$ ./build.shagain then refresh the page (lapis servercan keep running. No need to restart)
Please tell me what is your NodeJS version installed, and which version of npm.
@vaiosx It was Node 16 I think.
I made a fork that's slightly easier to install: https://git.0x2f.pl/rt/sightreading.training
@vaiosx It was Node 16 I think.
I made a fork that's slightly easier to install: https://git.tagisow.dev/rt/sightreading.training
I was able to run the original fork on my server, but ran into a problem that the system needs httpS protocol, through the usual http all this does not work.
And you are good that you simplified the original fork and modified it, I read the description, I liked it, I will have to try it. One more improvement I would recommend is to make the notes not WHOLE, but quarter notes. Whole notes are very rare in musical notation, so it doesn't make sense for the brain to do such a trick on whole notes.