1
0
Fork 0
The "Nexus Archive" website, based on Symfony framework. https://nexus-archive.zerozero.pl/
This repository has been archived on 2024-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Krzysztof Sikorski 1bbb8b5ebe
Code style: rename `MainMenuService` to `MainMenuGenerator`
2022-04-26 01:19:09 +02:00
assets Add CSS styles for the leaderboard page 2022-04-26 00:03:54 +02:00
bin Add Tailwind CSS to the project, configure it, create build scripts in `bin` 2022-04-25 09:10:45 +02:00
config Code style: rename `MainMenuService` to `MainMenuGenerator` 2022-04-26 01:19:09 +02:00
migrations Insert rows for known game periods (up to B5 Stronghold launch) 2022-04-25 21:43:00 +02:00
public Add CSS styles for the leaderboard page 2022-04-26 00:03:54 +02:00
src Code style: rename `MainMenuService` to `MainMenuGenerator` 2022-04-26 01:19:09 +02:00
templates Code style: rename `MainMenuService` to `MainMenuGenerator` 2022-04-26 01:19:09 +02:00
.editorconfig Code style: update `.editorconfig` file to match PSR-12 2022-03-25 22:40:56 +01:00
.env Implement parser for Breath 4 leaderboards 2022-04-24 23:05:30 +02:00
.gitignore Add Tailwind CSS to the project, configure it, create build scripts in `bin` 2022-04-25 09:10:45 +02:00
CHANGELOG.md Update CHANGELOG for 0.5.0 2022-04-09 03:40:36 +02:00
LICENSE.txt Initialise repository 2021-10-21 02:07:41 +02:00
README.md Document worker commands in README file 2022-04-25 03:08:34 +02:00
composer.json Add Symfony DomCrawler and Symfony CssSelector to dependencies 2022-04-24 23:02:25 +02:00
composer.lock Add Symfony DomCrawler and Symfony CssSelector to dependencies 2022-04-24 23:02:25 +02:00
package-lock.json Add Tailwind CSS to the project, configure it, create build scripts in `bin` 2022-04-25 09:10:45 +02:00
package.json Add Tailwind CSS to the project, configure it, create build scripts in `bin` 2022-04-25 09:10:45 +02:00
symfony.lock Add Symfony DomCrawler and Symfony CssSelector to dependencies 2022-04-24 23:02:25 +02:00
tailwind.config.js Add Tailwind CSS to the project, configure it, create build scripts in `bin` 2022-04-25 09:10:45 +02:00

README.md

Nexus Archive

The Nexus Archive website, based on Symfony framework.

Licence

This project is licensed under European Union Public Licence (EUPL).

For convenience an English text of the licence is included in LICENSE.txt file.

Installation and deployment

This is a standard Symfony-based web application, requiring only a standard software stack of:

  • an http server (e.g. Nginx)
  • PHP binaries and some standard extensions ( see composer.json file for details)
  • Composer tool (for fetching and installing third-party PHP libraries)
  • a relational database server supporting SQL language (e.g. PostgreSQL)

You can find some generic advice in Symfony documentation, in installation and deployment chapters.

The application was only tested on PostgreSQL, but it should theoretically work on any database engine that is supported by Doctrine library. Check Doctrine documentation for details.

On Linux Mint (and probably also Ubuntu or Debian) you can use following commands to install required system packages:

sudo apt-get install php-cli php-fpm postgresql # basic packages
sudo apt-get install php-xml php-mbstring php-intl php-xml # required or recommended by Symfony
sudo apt-get install php-pgsql # required by application design

Remember to also configure periodic execution of following console commands (e.g. via cron jobs or systemd timers):

  • bin/console app:worker:parser for parsing submitted data
  • bin/console app:worker:prune-database for pruning unwanted rows from db

Development notes

  • some classes are loaded from var\cache directory, so you have to execute bin/console cache:warmup to have them available for IDE autocompletion