Simple Magnetico web interface written in PHP and Symfony.
Go to file
Alexey Skobkin 0bd6665acc composer remove symfony/lts (abandoned in favor of symfony/flex). 2019-01-18 18:10:02 +03:00
bin initial commit. 2018-06-20 19:35:08 +03:00
config composer update (many packages including symfony 4.1 => 4.2). Symfony 4.2 compatibility fix. 2019-01-18 17:53:57 +03:00
public Icon added to the column which is sorted by user. 2018-07-01 04:01:53 +03:00
src composer update (many packages including symfony 4.1 => 4.2). Symfony 4.2 compatibility fix. 2019-01-18 17:53:57 +03:00
templates Search field is now not in the toolbar and also has autofocus attribute. 2018-11-04 01:38:14 +03:00
tests/database Test SQLite database included. 2018-06-23 21:56:03 +03:00
translations Web profiler added. Pagerfanta bundle added. FrameworkExtraBundle added. 2018-06-21 02:28:31 +03:00
.env.dist Probably fixing PostgreSQL connection failure because of incorrect database URL. 2018-06-24 21:24:43 +03:00
.gitignore WebServerBundle added. 2018-06-20 22:28:52 +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 composer remove symfony/lts (abandoned in favor of symfony/flex). 2019-01-18 18:10:02 +03:00
composer.lock composer remove symfony/lts (abandoned in favor of symfony/flex). 2019-01-18 18:10:02 +03:00
symfony.lock composer remove symfony/lts (abandoned in favor of symfony/flex). 2019-01-18 18:10:02 +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