Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/php/web-master
The user management system
https://github.com/php/web-master
Last synced: about 1 month ago
JSON representation
The user management system
- Host: GitHub
- URL: https://github.com/php/web-master
- Owner: php
- Created: 2019-02-05T20:31:03.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T16:52:54.000Z (9 months ago)
- Last Synced: 2024-04-14T04:23:35.429Z (7 months ago)
- Language: PHP
- Size: 3.96 MB
- Stars: 23
- Watchers: 19
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PHP user management system
==========================#### Docker
```shell
docker-compose up --build
```You can reset the data volumes using `docker-compose down -v`.
#### Manual
```shell
git submodule update --init# Create database and users:
CREATE DATABASE phpmasterdb;
CREATE USER 'nobody'@'localhost';
GRANT ALL PRIVILEGES ON phpmasterdb.* TO 'nobody'@'localhost';# Create tables
mysql -unobody phpmasterdb < schema.sql# Create user test:test
INSERT INTO users (username, svnpasswd, cvsaccess) VALUES ('test', '$2y$10$iGHyxmfHI62Xyr3DPf8faOPCvmU1UMVMlhJQ/FqooqgPJ3STMHTyG', 1);# Run server (must have mysql ext)
php -S localhost:8000 -d include_path="$PWD/include/" -derror_reporting="E_ALL&~E_DEPRECATED" -t public
```