Giter VIP home page Giter VIP logo

byceps / byceps Goto Github PK

View Code? Open in Web Editor NEW
73.0 7.0 23.0 17.74 MB

BYCEPS is a self-hosted web platform to run LAN parties. Multiple brands, multiple sites, advanced ticketing, seating, native discussion board and shop, intranet mode, etc.

Home Page: https://byceps.nwsnet.de/

License: BSD 3-Clause "New" or "Revised" License

Python 76.21% HTML 21.36% JavaScript 0.59% CSS 1.78% Dockerfile 0.04% Just 0.01%
lanparty shop ticketing lan-party seating multi-brand forums user-management-system byceps

byceps's Introduction

BYCEPS

BYCEPS logo

BYCEPS is the Bring-Your-Computer Event Processing System.

It is a tool to prepare and operate a LAN party, both online on the Internet and locally as an intranet system, for both organizers and attendees.

The system incorporates experience from almost 25 years of organizing LAN parties as well as concepts and source code developed for more than a decade.

Website

The official tiny website is at https://byceps.nwsnet.de/.

Community

If you have questions, suggestions, or want to exchange experience, consider yourself invited to join us on the BYCEPS Discord server:

Join BYCEPS on Discord

In the Wild

Parties using BYCEPS:

  • Since 2014, BYCEPS is the foundation of the public website and local party intranet of the LANresort (300+ attendees) event series.
  • In 2016, LANresort Bostalsee was launched on BYCEPS.
  • In 2017, NorthCon (1,300+ attendees) was relaunched on BYCEPS.

Other sites using BYCEPS:

  • In 2019, the OrgaTalk community was launched using BYCEPS as a discussion board.

Installation

See installation instructions.

Code Status

Documentation Status Scrutinizer Code Coverage Scrutinizer Code Quality Code Climate

Author

BYCEPS was created, and is developed and maintained, by Jochen "Y0Gi" Kupperschmidt.

License

BYCEPS is licensed under the BSD 3-Clause "New" or "Revised" License.

The license text is provided in the LICENSE file.

byceps's People

Contributors

bergi9 avatar homeworkprod avatar m-ober avatar mbraun81 avatar mrfastdie avatar ovee avatar philmacfly avatar phoenix1856 avatar the0mikkel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

byceps's Issues

Default login information failing

I followed the documentation to install byceps using docker-compose.

Despite the documentation is somewhat incomplete (where to obtain the compose.yaml to build the containers in the first place is quite unclear), I managed to get it running.

Both admin and demo sites appear to be running fine, however, the default login information provided in the documentation (DemoAdmin/demodemo) is not working.

Docker compose issues

Hey im kinda stuck on running byceps with compose.

Im getting this issue if i try to run any command

root@docker:/home/janik/docker/byceps# docker compose run --rm byceps-admin byceps generate-secret-key > ./secret_key.txt [+] Creating 2/0 ✔ Container byceps-db-1 Running0.0s ✔ Container byceps-redis-1 Running0.0s Traceback (most recent call last): File "/home/byceps/.local/bin/byceps", line 5, in <module> from byceps.cli.cli import cli ModuleNotFoundError: No module named 'byceps.cli' root@docker:/home/janik/docker/byceps#

Use of `docker-compose` in documentation

The current install/setup steps for docker, located in docs/installation_docker/index.rst references docker-compose as command, but Compose V2 deprecates this, with the build in docker compose command.

When following the install guide, I had to switch all the commands from docker-compose to docker compose manually to get the system running.

The official Compose V2 documentation calls for the move to docker compose from docker-compose: https://docs.docker.com/compose/migrate/

How to run it with docker

Hello,

I saw there was a dockerfile I tried to use but sadly I can't make it to work.
Everything installs but when starting it doesn't start properly sadly.

Could you give me which config file I should change?

Thanks in advance!

Can't send email

`11:49:06 default: byceps.services.email.service.send_email('Server<server@mydomain>', ['me@mydomain.'], 'test, bitte bestätige deine E-Mail-Adresse', 'Hallo test,\n\nbitte bestätige deine E-Mail-Adresse, indem du diese URL ab...) (4f37c2ad-838d-48a2-aac0-13a36de6f173)
Delivery of message <[email protected]> failed.
11:49:06 Traceback (most recent call last):
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/util.py", line 50, in __enter__
    transport = pool.transports.get(False)
  File "/usr/lib/python3.7/queue.py", line 167, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/worker.py", line 1031, in perform_job
    rv = job.perform()
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/job.py", line 749, in perform
    self._result = self._execute()
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/job.py", line 772, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/root/byceps/byceps/services/email/service.py", line 164, in send_email
    email.send(sender, recipients, subject, body)
  File "/root/byceps/byceps/email.py", line 74, in send
    mailer.send(message)
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/__init__.py", line 149, in send
    result = self.manager.deliver(message)
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/immediate.py", line 41, in deliver
    with self.transport() as transport:
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/util.py", line 57, in __enter__
    transport.startup()
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/transport/smtp.py", line 50, in startup
    self.connect_to_server()
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/transport/smtp.py", line 84, in connect_to_server
    connection.starttls(self.keyfile, self.certfile)
  File "/usr/lib/python3.7/smtplib.py", line 771, in starttls
    server_hostname=self._host)
  File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
    session=session
  File "/usr/lib/python3.7/ssl.py", line 846, in _create
    owner=self, session=self._session,
ValueError: server_hostname cannot be an empty string or start with a leading dot.
Traceback (most recent call last):
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/util.py", line 50, in __enter__
    transport = pool.transports.get(False)
  File "/usr/lib/python3.7/queue.py", line 167, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/worker.py", line 1031, in perform_job
    rv = job.perform()
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/job.py", line 749, in perform
    self._result = self._execute()
  File "/root/byceps/venv/lib/python3.7/site-packages/rq/job.py", line 772, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/root/byceps/byceps/services/email/service.py", line 164, in send_email
    email.send(sender, recipients, subject, body)
  File "/root/byceps/byceps/email.py", line 74, in send
    mailer.send(message)
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/__init__.py", line 149, in send
    result = self.manager.deliver(message)
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/immediate.py", line 41, in deliver
    with self.transport() as transport:
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/manager/util.py", line 57, in __enter__
    transport.startup()
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/transport/smtp.py", line 50, in startup
    self.connect_to_server()
  File "/root/byceps/venv/lib/python3.7/site-packages/marrow/mailer/transport/smtp.py", line 84, in connect_to_server
    connection.starttls(self.keyfile, self.certfile)
  File "/usr/lib/python3.7/smtplib.py", line 771, in starttls
    server_hostname=self._host)
  File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
    session=session
  File "/usr/lib/python3.7/ssl.py", line 846, in _create
    owner=self, session=self._session,
ValueError: server_hostname cannot be an empty string or start with a leading dot.
`
My conf : 
`
SESSION_COOKIE_SECURE = True

REDIS_URL = 'redis://127.0.0.1:6379/0'

RQ_DASHBOARD_ENABLED = True

APP_MODE = 'site'
SITE_ID = 'intra'

MAIL_DEBUG =  False
MAIL_DEFAULT_SENDER = '[email protected]'
MAIL_SUPPRESS_SEND = False

#DEBUG_TOOLBAR_ENABLED = True
#STYLE_GUIDE_ENABLED = True

MAIL_TRANSPORT = 'smtp'
MAIL_SERVER  = 'smtp.myserver.com'
MAIL_PORT = 25
MAIL_USERNAME = '[email protected]'
MAIL_PASSWORD = 'topsecretpassword'
MAIL_USE_TLS = False
MAIL_USE_SSL = False
`

Difference between doc and repo regarding apps.toml

Hi there,
I followed

https://byceps.readthedocs.io/en/latest/installation_docker/index.html

until I came to the point

cp config/apps_example.toml config/apps.toml

But there is an empty folder

config/apps.toml/

already existing, and therefore the copy command can not copy this file.
The folder config/apps.toml/ was probably created between the checkout and the creation of the initial user, as it is owned by root, not the user I checked out with.
So following the steps of the install doc I am unable to install without fixing this bug manually.

So obviously some step described in the install doc created a folder apps.toml instead of a file apps.toml below config.
But according to the copy command there should be either no folder apps.toml nor a file apps.toml at this point, as both would let the copy command fail.

regards

Dirk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.