https://github.com/theel0ja/php-boilerplate-user-management
Custom PHP template, based on UpdateWatch (updatewatch.lelux.fi) code.
https://github.com/theel0ja/php-boilerplate-user-management
boilerplate bootstrap mariadb mysql php twig
Last synced: 2 months ago
JSON representation
Custom PHP template, based on UpdateWatch (updatewatch.lelux.fi) code.
- Host: GitHub
- URL: https://github.com/theel0ja/php-boilerplate-user-management
- Owner: theel0ja
- Created: 2019-06-12T18:44:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T18:44:48.000Z (about 7 years ago)
- Last Synced: 2025-04-03T03:42:10.943Z (over 1 year ago)
- Topics: boilerplate, bootstrap, mariadb, mysql, php, twig
- Language: HTML
- Size: 14.6 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Running in production
```bash
composer install
cp .env.dist .env
yarn install
```
### Database
Make MariaDB database as described [here](https://wiki.lelux.fi/mysql/) and add the password to `.env`.
```sql
CREATE USER 'app_databaseuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON app_database.* TO 'app_databaseuser'@'localhost' IDENTIFIED BY 'password';
```
```bash
sudo mysql -u root < db.sql
```