Follow

@gcupc

running into some problems implementing brutaldon.

would you hold my hand through this?

@bigMouthCommie there's an error about running out of disk space, so I'd guess that's part of your problem.

@gcupc

cleaned up disk space, i'm in the right directory, getting an error with django

@bigMouthCommie in this one, you're missing a 'pipenv install' before you try to run the server. You also have to run migrations before running the server.

@gcupc so i nuked the whole dir and started again.

frankly i think my system is in bad shape, so i'm going to prioritize upgrading to a fresh install of deb10 and see if i can get it to run later in the week.

thank you for walking through all this with me. i really appreciate the help.

@gcupc

so i am running a fresh deb10 install, grabbed python3 along with -pip and -django

defined MY path and PYTHONPATH

git cloned the repo

followed the steps that started to do the thing on deb9...

and faled at pipenv install

can i ask what your production environment looks like? i'd love to run brutaldon but just the config has me almost in tears

@bigMouthCommie I have production installs on Fedora and CentOS, but I've run it in a Debian chroot on Android and Debian under WSL, so it shouldn't be picky. I think you're overcomplicating things. Let me make just a series of commands (next post).

@bigMouthCommie $ git clone git.carcosa.net/jmcbray/brutal && cd brutaldon
$ pip3 install --user pipenv # pip for python3 may be installed as pip3 on your system
$ pipenv update # This installs all the dependencies, including Django
$ pipenv run ./manage.py migrate # This sets up your initial database (sqlite)
$ pipenv run ./manage.py runserver # This runs the server

This really should be everything you have to run.

@gcupc

i git cloned right into ~/

so, strangely, i don't have ~/.local/bin in the path

i called pipenv in line 3 with ./../.local/bin/pipenv

it threw a series of errors

@gcupc

user@wayPoint:~/brutaldon$ ./../.local/bin/pipenv update
Running $ pipenv lock then $ pipenv sync.
Locking [dev-packages] dependencies��
Locking [packages] dependencies��
� Locking Failed!
Traceback (most recent call last):
File "/home/user/.local/lib/python3.7/site-packages/pipenv/resolver.py", line 4, in <module>
import logging
File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
import sys, os, time, cStringIO, traceback, warnings, weakref, collections

@bigMouthCommie Not sure why, but your python3 pipenv is trying to import a python2 logging library. Your python environment is probably all messed up.

@gcupc wierd. i had previously broken my python env with sudo pip and, with other system instabilities, and being unable to install brutaldon, i decided to make a fresh install.

i am not a python dev (obviously). can you suggest a method to fix this? would making a user for brutaldon make sense?

@gcupc omg. im an idiot. i wasnt even in the right dir. i'll get back wtih you if i run into further issues

Sign in to participate in the conversation
ACP 🎉🍰

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!