This commit is contained in:
Roman 2021-04-07 19:45:52 +02:00
parent 6292f72032
commit 140f428491

@ -5,6 +5,7 @@ Web-Base is a php framework which provides basic web functionalities and a moder
### Requirements ### Requirements
- PHP >= 7.4 - PHP >= 7.4
- One of these php extensions: mysqli, postgres - One of these php extensions: mysqli, postgres
- Apache/nginx or docker
### Current Functionalities: ### Current Functionalities:
- [Installation Guide with automatic database setup](#installation) - [Installation Guide with automatic database setup](#installation)
@ -16,17 +17,23 @@ Web-Base is a php framework which provides basic web functionalities and a moder
- [Account & User functions](#access-control) - [Account & User functions](#access-control)
- Admin Dashboard - Admin Dashboard
- File Sharing Dashboard - File Sharing Dashboard
- Docker Support
### Upcoming: ### Upcoming:
I actually don't know what i want to implement here. There are quite to many CMS out there with alot of vulnerabilities. There also exist some frameworks already. This project is meant to provide a stable project base to implement what ever a developer wants to: Dynamic Homepages, Webshops, .. I actually don't know what i want to implement here. There are quite to many CMS out there with alot of vulnerabilities. There also exist some frameworks already. This project is meant to provide a stable project base to implement what ever a developer wants to: Dynamic Homepages, Webshops, ..
## Installation ## Installation
### Default Installation
1. `git clone https://git.romanh.de/Projekte/web-base` (or `https://github.com/rhergenreder/web-base`) 1. `git clone https://git.romanh.de/Projekte/web-base` (or `https://github.com/rhergenreder/web-base`)
2. Create a [mysql](https://dev.mysql.com/doc/refman/5.7/en/creating-database.html) or [postgresql](https://www.postgresql.org/docs/9.0/sql-createdatabase.html) database 2. Create a [mysql](https://dev.mysql.com/doc/refman/5.7/en/creating-database.html) or [postgresql](https://www.postgresql.org/docs/9.0/sql-createdatabase.html) database
or use an existing empty database (e.g. test or public) or use an existing empty database (e.g. test or public)
3. Open the webapp in your browser and follow the installation guide 3. Open the webapp in your browser and follow the installation guide
### Docker Installation
1. `docker-compose up`
2. Open the webapp in your browser and follow the installation guide
For any changes made in [/adminPanel](/adminPanel) or [/fileControlPanel](/fileControlPanel), run: For any changes made in [/adminPanel](/adminPanel) or [/fileControlPanel](/fileControlPanel), run:
1. once: `npm i` 1. once: `npm i`
2. build: `npm run build` 2. build: `npm run build`