Coder Social home page Coder Social logo

aetherguild4's Introduction

Aetherguild.net v4

Gaming guild website.

Requirements

  • Python 3.11.x (https://www.python.org/)
  • Poetry package manager (https://python-poetry.org/docs/#installation)
  • PostgreSQL or SQLite for database. SQLite should be fine for testing and development purposes. MariaDB/MySQL is not tested or supported.
  • Redis 5 or later (production only, not required for development)

Installing stuff for development

  1. Install the dependencies and clone this project.
  2. Copy settings.py-dist to settings.py. Change as needed. settings.py should never be added to git, as it may contain secrets.
  3. Set up environment with poetry poetry env use 3.11.
  4. Install packages with poetry poetry install --no-root --sync.
  5. Make sure your database is set up and configured in settings.py, and then run database migrations to set up initial data python manage.py migrate.
  6. Create a superuser so that you can access the admin python manage.py createsuperuser.
  7. That's all. Now just start local dev server by running python manage.py runserver.

Note that some background operations use celery. It can be started with following: python -m celery -A aether worker -l info --autoscale 2,1

Running in production

Use uvicorn (ASGI): uvicorn aether.asgi:application

Deploying

When deploying, the following steps need to be run:

python manage.py collectstatic --noinput
python manage.py compress
python manage.py migrate

After this, restart the WSGI/ASGI runner.

License

MIT. Please refer to LICENSE for more information.

aetherguild4's People

Contributors

dependabot[bot] avatar katajakasa avatar

Watchers

 avatar  avatar

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.