help with PlutoSliderServer #156
Replies: 3 comments 3 replies
-
I've identified my problem, I think. After cloning my repo into I would also change the configuration section of the Readme a bit. It currently reads "Create a configuration file in the same folder as Project.toml, see the section about PlutoDeployment.toml above." But there are now two Project.toml files, one in the same directory as the notebook files and another one level down in the pluto-slider-server-environment directory. The PlutoDeployment.toml file (apparently) needs to go in the pluto-slider-server-environment directory. I'm sure that level of precision is not necessary for those who truly understand what's happening in detail, but for those who are just looking for a detailed recipe to follow it will be helpful. |
Beta Was this translation helpful? Give feedback.
-
Hi @fonsp. Thanks again for your help with this. Answers inline below... Two foldersYou cloned your repo into Yes You said that you "created No. I was just stating the obvious, i.e. that cloning my repo created the Two Project.tomlsNormally there is just one Project.toml. An example in my folders: I clone https://github.com/fonsp/probability-playground into /home/fons/probability-playground. Now I have my notebook files, like Then I create the folder Was this example helpful? Where do you have a second Project.toml? I have So a more basic installation that didn't require my adding those packages wouldn't have generated the 2nd |
Beta Was this translation helpful? Give feedback.
-
I created a PR |
Beta Was this translation helpful? Give feedback.
-
I already have a github repo that works when I follow the simple test
As I understand the README, the next step is to set up a server locally. So I do a git clone of
myRepo
to (for example)/home/alex/PlutoServer/
Question: Should the directorypluto-slider-server-environment
(which I create as per the README and to which I add aPlutoDeployment.toml
file) be under/home/alex/PlutoServer/
or under/home/alex/PlutoServer/.git/
? I put it underPlutoServer
and ranIt ran without bugging but the page at
localhost:2345
didn't list any of my notebooks...However, by putting the
pluto-slider-server-environment
directory directly under.git
AND runningfrom the top of the cloned directory structure (i.e. the parent directory of the
.git
directory) it seems to "work".Unfortunately, "work" is an odd state of affairs. Sometimes it works and sometimes it does not - but for reasons that are obviously specific to my code and not to the instructions in README.
Before I provide error messages or more detail, is there anything obviously wrong with the process I described above?
Beta Was this translation helpful? Give feedback.
All reactions