Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eckinox/eckinox-bundle
https://github.com/eckinox/eckinox-bundle
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eckinox/eckinox-bundle
- Owner: eckinox
- Created: 2021-04-02T18:51:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T20:38:23.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T02:43:28.898Z (over 1 year ago)
- Language: PHP
- Size: 12.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
**Composer must be installed to the latest version**
1. Run `composer create-project symfony/website-skeleton:4.3.* my-project-domain.com`
2. Run `cd my-project-domain.com`
3. Edit the DATABASE_URL in .env file `DATABASE_URL=mysql://database_user:password@localhost:3306/database_name`
4. Add the DEBUG_EMAIL variable to .env file `[email protected]`
5. Run `composer config repositories.eckinox vcs https://github.com/eckinox/eckinox-bundle.git`
6. Run `composer require eckinox/eckinox-bundle`
7. Run `bin/console eckinox:install`Don't forget the .htaccess
```
RewriteEngine On# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]# Removing trailing slashes
RewriteRule ^(.+)/$ https://%{HTTP_HOST}/$1 [R=301,L]# Redirect everything that is not a file to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$0 [PT,QSA,L]
```That's it !