#1 Website in the Worlds
Project description
Webseite des AN
How to develop
You need:
- Git (obviously)
- CPython 3.10+
- Packages from requirements-dev.txt (
pip install -r requirements-dev.txt
) - GCC and G++ for building some of the dependencies
- Depending on the used version of CPython: Rust
- For formatting TypeScript and Markdown: dprint
- For building TypeScript and CSS: Deno
- For linting TypeScript: Node.js and pnpm (
npm install -g pnpm
)
How to check
./check.sh
How to run
python -Xdev -Xwarn_default_encoding -m an_website
(-Xdev
enables development mode)
How to run (production)
Linux
You need:
- CPython 3.10+
- GCC and G++ for building some of the dependencies
- Depending on the used version of CPython: Rust
- Supervisord
- Redis 6.2
- redis-cell (for ratelimits)
- Elasticsearch 7.17 or 8.x
- UwUFetch
How:
- Create a virtual environment
- Install an-website in the venv (
pip install an-website
) - create a
config.ini
and configure it - run it (
an-website
/python -m an_website
) with Supervisord
FreeBSD
Should work similar to Linux.
macOS
Not supported, but should work.
Windows
Not supported, but maybe works.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
an-website-23.1.1.tar.gz
(27.7 MB
view details)
Built Distribution
File details
Details for the file an-website-23.1.1.tar.gz
.
File metadata
- Download URL: an-website-23.1.1.tar.gz
- Upload date:
- Size: 27.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999596348593e61709b8ec8f3c8a5212fd2e94fca96908aa1db3ff087314bde0 |
|
MD5 | 8163bb2894d7d566a9d29d9caf93dc50 |
|
BLAKE2b-256 | 578261ea35febaeca09baeac868f8b55838d7a22db9e19e694211d7d16927bad |
File details
Details for the file an_website-23.1.1-py3-none-any.whl
.
File metadata
- Download URL: an_website-23.1.1-py3-none-any.whl
- Upload date:
- Size: 30.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbaa133333718aca624c80c2418f784b9625e626bba238fde6ade47855b79027 |
|
MD5 | 570db93ccb503b0d210e27604ba6d56c |
|
BLAKE2b-256 | 6bf34731b45b9afd18d092f9e1296668ca637dc00e97690974db1f4d85cb9415 |