Closed luc-tielen closed 4 years ago
@luc-tielen Could you encourage your friend to try these instructions for Catalina. I'm sure it will be a smooth ride afterwards.
Is it possible to have instructions for a cabal / stack install as well?
Yes, it is possible. We need to get rib
into stackage, and then the which
package as well. Finally the neuron package (all of this will also automatically make it available in nixpkgs). Then you would be able to just do stack install neuron
. This is tracked in #45
In the interim, it may be possible to have a stack.yaml
to specify the custom dependencies. But I'm not familiar with Stack. In any case, I strongly encourage people to try Nix. :-)
I did suggest it to him but he ended up finding it too much work (since he's not normally a nix user). Once the packages are in stackage he might try installing it again.
If anybody wants to try it, here is way to "try before you buy it" neuron. You only need to have docker installed:
mkdir ~/zettelkasten
echo -e "---\ntitle: Test\n---\n\nThis is a test" > ~/zettelkasten/2011201.md
docker run --rm \
-v ~/zettelkasten:/root/zettelkasten \
-p 8080:8080 \
-t sridca/neuron:test \
neuron rib -o /tmp/site -ws 0.0.0.0:8080
Ah, I didn't even think of Docker.. guess that's what happens if you use nix for too long 😄. I can confirm that it works, nice addition!
Alright, I'm going to close this.
neuron-search
relies on Nix), so stack-based install is unlikely to happen.That's ok, I think Docker is a good alternative that a lot of people have installed already.
A couple of days ago I mentioned neuron to a friend of mine (@hanskenis) who became enthousiastic about it. However today he tried installing it on MacOSX Catalina (which has issues with nix) and he immediately became stuck.. and the enthousiasm quickly dissapeared. 😞
Is it possible to have instructions for a cabal / stack install as well? I think it would open up neuron for a much bigger audience.