New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation fails #1
Comments
Thanks for your interest ! You've realized i think it is a work in progress, i actually didn't even run it in a VM yet. I'm testing django related scripts on my desktop computer for now. Regarding 1., i copied an old manifest.json file from my_webapp_ynh a while back, it would be better to just get the new version but i didn't get to that since i can't test it yet anyway. Finally, 3. thanks for this great tip ! Anyway, thanks again for your help ! Feel free to contribute, i'm also new to collaboration with git, but will gladly learn how to manage some pull requests :) |
I found time to make some huge progress. It is still work-in-progress but should be much easier to test out. I've been testing it inside a VM and installation now completes ! |
It would be very good to have such a package!
I could help but my knowings in yunohost and django are very limited.
I tried to install it on a VM, and I encountered the following issues:
My version of Yunohost was not recent enough (need >= 2.6.4 for one of the helpers)
The command
ynh_install_app_dependencies python3 virtualenv git
fails with "Invalid control file"(I temporarily manually installed the dependencies and commented this line)
Te command
source "${venv}/bin/activate"
fails with "Warning: /var/www/my_djangoapp/env/bin/activate: line 8: _OLD_VIRTUAL_PATH: unbound variable"I can fix it with something like
(taken here pypa/virtualenv#150)
The command
django admin ...
fails with "Warning: CommandError: Destination directory '/var/www/my_djangoapp/app' does not exist, please create it first."I fixed it adding some
mkdir
s.Then it got stuck on the creation of the django superuser.
I tried your las commit 299fe50 (with my temorary fixes) but it fails with "WARNING ./install: line 104: setup_django: command not found".
The text was updated successfully, but these errors were encountered: