Skip to content
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

How to run eventyay-talk locally #246

Open
ajutamangdev opened this issue Dec 16, 2024 · 0 comments
Open

How to run eventyay-talk locally #246

ajutamangdev opened this issue Dec 16, 2024 · 0 comments

Comments

@ajutamangdev
Copy link

I am trying to build this locally using python virtual environment setup.
Things I have proceed for the setup

  • installed the python environment and virtualenv
  • setup the virtualenv and activated to install the packages of the eventyay-talk
git clone https://github.com/fossasia/eventyay-talk
cd eventyay-talk
virtualenv env
source env/bin/activate
pip install -e .

Till this I was able to install packages successfully. Based on the installed packages, this project runs the django. I tried to run the django server locally but couldn't proceed.

cd src
python3 manage.py runserver

Here is the error logs.

python3 manage.py server
Traceback (most recent call last):
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/core/management/__init__.py", line 255, in fetch_command
    app_name = commands[subcommand]
               ~~~~~~~~^^^^^^^^^^^^
KeyError: 'server'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/eventyay-talk/src/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/opensource/eventyay-talk/env/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/core/management/__init__.py", line 262, in fetch_command
    settings.INSTALLED_APPS
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/conf/__init__.py", line 81, in __getattr__
    self._setup(name)
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/conf/__init__.py", line 68, in _setup
    self._wrapped = Settings(settings_module)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eventyay-talk/env/lib/python3.12/site-packages/django/conf/__init__.py", line 166, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/eventyay-talk/src/pretalx/settings.py", line 11, in <module>
    from pkg_resources import iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'

Are there any missing configuration we have to configure before running the server locally ? Also I found the i wasn't able to run the sphinx documentation of the docs folder. cc @mariobehling

@ajutamangdev ajutamangdev changed the title How to run eventyay-talk How to run eventyay-talk locally Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant