Simple Magnetico web interface written in PHP and Symfony.
Go to file
Alexey Eschenko dd8cb1decf Merged in upgrade_and_refactoring (pull request #30)
Downgrading ocramius/package-versions due to minimal PHP version.
2019-10-20 21:41:14 +00:00
bin Updating DotEnv according to 2018.11 changes: https://symfony.com/doc/current/configuration/dot-env-changes.html 2019-07-13 22:44:21 +03:00
config Using DQL 'ILIKE' implementation instead of 'LIKE' for search. 2019-10-21 00:29:08 +03:00
public Updating DotEnv according to 2018.11 changes: https://symfony.com/doc/current/configuration/dot-env-changes.html 2019-07-13 22:44:21 +03:00
src Using DQL 'ILIKE' implementation instead of 'LIKE' for search. 2019-10-21 00:29:08 +03:00
templates MagnetExtension for Twig refactored: MagnetGenerator extracted to separate service. 2019-01-29 20:09:58 +03:00
translations Web profiler added. Pagerfanta bundle added. FrameworkExtraBundle added. 2018-06-21 02:28:31 +03:00
.env Using PostgreSQL for magneticod (Go) back-end. 2019-10-20 15:45:26 +03:00
.gitignore Updating DotEnv according to 2018.11 changes: https://symfony.com/doc/current/configuration/dot-env-changes.html 2019-07-13 22:44:21 +03:00
LICENSE README.md added. LICENSE added. composer.json updated for packagist publication. .env.dist updated with fixed database path. 2018-06-22 18:43:19 +03:00
README.md README.md edited online with Bitbucket 2019-01-01 15:46:08 +00:00
composer.json Replacing TorrentSearcher dependency on EntityManager with dependency on ClassMetadata of the Torrent class. 2019-10-20 23:00:36 +03:00
composer.lock Downgrading ocramius/package-versions due to minimal PHP version. 2019-10-21 00:40:13 +03:00
symfony.lock Replacing TorrentSearcher dependency on EntityManager with dependency on ClassMetadata of the Torrent class. 2019-10-20 23:00:36 +03:00

README.md

Codeship Status for skobkin/magnetico-web Total Downloads License

Magnetico Web PHP

Magnetico Web is a simple web search interface for magneticod database.

Installation

Application setup is quite simple:

Getting the source code

Using Git

git clone https://skobkin@bitbucket.org/skobkin/magnetico-web.git
cd magnetico-web

Using Composer

composer create-project skobkin/magnetico-web -s dev
cd magnetico-web

Setting file access privileges

Set up appropriate write permissions for var/cache and var/logs.

Installing dependencies (not needed after installation via Composer)

# In developer environment:
composer install
# In production environment
composer install --no-dev --optimize-autoloader

After dependencies installation you may be needed to create .env file (see .env.dist) or set appropriate environment variables for production usage.

Database configuration

See Symfony database configuration documentation for more details.

You must set environment variables for both databases: magneticod's SQLite and magnetico-web's PostgreSQL.

Database schema migration

# Only for 'default' EntityManager (PostgreSQL)
php app/console doc:mig:mig --em=default

User creation

# see --help for more info
# If you don't specify the password it'll be requested from you in the command line
php app/console user:add <your_username> <your_email> [your_password] [--invites=10]

Web assets installation

php app/console assets:install public --symlink