pdnsmanager/README.md

46 lines
1.2 KiB
Markdown
Raw Normal View History

2016-02-15 16:32:53 +00:00
# PDNS Manager
2017-07-23 14:20:32 +00:00
## Caution
This is the development branch for pdnsmanager it should become the 2.0 version if it is ready. If you want to use the software download a stable release from https://pdnsmanager.lmitsystems.de.
This development version contains known bugs and security vulnerabilities. Do not use it!
## Development Setup
2017-07-23 14:20:32 +00:00
Before you can start you have to configure the backend manually with a valid config-user.php
Also you have to install Angular CLI globally using
```bash
npm install -g @angular/cli
```
Then you have to install all dependencies using
```bash
npm install
```
Finally you have to setup a pre-commit hook using
```bash
ln utils/pre-commit.hook .git/hooks/pre-commit
```
## Development Commands
To run a development instance change in the backend-legacy folder and start the backend in one terminal.
2017-07-23 14:20:32 +00:00
```bash
cd backend-legacy
php -S localhost:8000
```
2017-07-23 14:20:32 +00:00
Afterwords you can run the development-server in another terminal using
```bash
npm start
```
Then you can go to a browser and open http://localhost:4200
2016-02-15 16:32:53 +00:00
2017-07-23 14:20:32 +00:00
If you want to lint the project run
```bash
npm run lint
```
this command will also be in the provided commit hook so that it is impossible to commit code which does not pass the linter.
2016-02-15 16:32:53 +00:00