elabftw / elabdoc Goto Github PK
View Code? Open in Web Editor NEWSource files for generating documentation for elabftw
License: Other
Source files for generating documentation for elabftw
License: Other
.
Describe the bug
The documentation says:
Go on [the repository on GitHub](https://github.com/elabftw/elabftw)
Click the Star button (it helps with visibility of the project)
Click the Fork button in the top right of the screen
From your fork page, clone it with SSH on your machine:
git clone [email protected]:<YOUR USERNAME>/elabftw.git
# checkout the hypernext branch because this is where dev happens
cd elabftw
git checkout hypernext
cd ..
A clear and concise description of what the bug is.
But if I fork, I fork a branch, and I do not have the hypernext in the local branch. I have to fork the hypernext branch, then I can pull it, but for me it shall be my master branch. Or there is a step I did not get...
To Reproduce
Steps to reproduce the behavior:
I think, you simply have to fork the hypernext branch, and clone that one.
Description of the bug
Configuring eLabFTW with elabctl fails with an error at 'elabctl start'
To Reproduce
Steps to reproduce the behavior:
ERROR: The Compose file '/etc/elabftw.yml' is invalid because:
services.web.depends_on contains an invalid type, it should be an array
Expected behavior
Script 'elabctl start'' should run without errors.
Additional context
Content of the original script:
# make sure we wait for mysql to be available before starting
# comment this out if you're not using a mysql container
# note: the mysql container needs an healthcheck block for this to work
depends_on:
mysql:
condition: service_healthy
Many solutions on the web suggest to change the code to fulfill the "type: array" requirement:
depends_on:
- mysql:
condition: service_healthy
But this only changes the error to:
ERROR: The Compose file '/etc/elabftw.yml' is invalid because:
services.web.depends_on contains an invalid type, it should be a string
(By the way: Only one error can be true!
The type in the config file should be the type required by the program. Here the 'required type' changes with the config file.)
Here is a modified script that at least solved the config file issue for me:
depends_on:
- mysql
# condition: service_healthy
Now elabctl complains about ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
. But this is another issue ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.