diff --git a/README.md b/README.md index 33ecd95..69d56c6 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,19 @@ Web-Base is a php framework which provides basic web functionalities and a moder ### 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, .. +## Installation + +1. `git clone https://git.romanh.de/Projekte/web-base` (or `https://github.com/rhergenreder/web-base`) +2. `chmod 777 ./files/uploaded ./core/Configuration` +3. Create a [mysql](https://dev.mysql.com/doc/refman/5.7/en/creating-database.html) or postgresql database (https://www.postgresql.org/docs/9.0/sql-createdatabase.html) + or use an existing empty database (e.g. test or public) +4. Open the webapp in your browser and follow the installation guide + +For any changes made in [/adminPanel](/adminPanel) or [/fileControlPanel](/fileControlPanel), run: +1. once: `npm i` +2. build: `npm run build` +The compiled dist files will be automatically moved to `/js`. + ## Extending the Base ### Adding API-Endpoints