Simple Magnetico web interface written in PHP and Symfony.
Go to file
Alexey Skobkin 685110a3cf
#16 updating README.md according to current configuration. Removing section about docker-compose (not working right now). Changing default APP_ENV in .env to 'dev' according to Symfony practice.
2020-12-15 17:27:45 +03: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 Implementing simple Redis cache for RSS. 2020-07-05 04:19:27 +03:00
docker Adding Dockerfile, docker-compose.yml, sample Nginx config, etc. 2019-12-28 01:20:39 +03:00
etc/nginx/sites-available Cleaning nginx config. 2019-12-29 02:59:42 +03:00
public jQuery 3.3.1 -> 3.5.1. 2020-07-05 01:06:16 +03:00
src Now always ignoring short words in the search query to be able to always use index. Adding small search help docs. 2020-07-20 01:26:58 +03:00
templates Now always ignoring short words in the search query to be able to always use index. Adding small search help docs. 2020-07-20 01:26:58 +03:00
translations Web profiler added. Pagerfanta bundle added. FrameworkExtraBundle added. 2018-06-21 02:28:31 +03:00
.env #16 updating README.md according to current configuration. Removing section about docker-compose (not working right now). Changing default APP_ENV in .env to 'dev' according to Symfony practice. 2020-12-15 17:27:45 +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 #16 updating README.md according to current configuration. Removing section about docker-compose (not working right now). Changing default APP_ENV in .env to 'dev' according to Symfony practice. 2020-12-15 17:27:45 +03:00
composer.json Changing PHP version constraint to allow PHP 8.0 usage. 2020-11-30 10:54:03 +00:00
composer.lock composer update (all deps). 2020-11-30 14:29:48 +03:00
docker-compose.yml Changing network mode to "host" for FPM container. 2019-12-29 02:31:56 +03:00
symfony.lock composer update (all deps). 2020-11-30 14:29:48 +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.local file (see .env for reference) or set appropriate environment variables for production usage.

Check Symfony documentation for more details about .env files.

You can also check this post about .env changes in Symfony if you're updating from an old version of the project.

Database configuration

See Symfony database configuration documentation for more details.

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

Database schema migration

# Only for 'default' EntityManager (Application entities)
php bin/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 bin/console user:add <your_username> <your_email> [your_password] [--invites=10]

Web assets installation

php bin/console assets:install public --symlink