diff --git a/README.md b/README.md index 510a57e..302f890 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,27 @@ -activity-manager -=============== +# Activity manager +PHP activity manager -Activity manager in PHP \ No newline at end of file + + +## Requirement +- PHP7.4+ + + + +## Installation +- Clone the git +- `composer install` +- Create an empty dir named `migrations` +- Copy the file `.env` to `.env.local` and set configuration +- `php bin/console -n doctrine:migrations:diff` +- `php bin/console -n doctrine:migrations:migrate` + + + +## Update +- `git pull` +- `composer update` or `php composer.phar update` +- `php bin/console -n doctrine:migrations:diff` +- `php bin/console -n doctrine:migrations:migrate` + +Or use `update.bat` diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..37533ea --- /dev/null +++ b/changelog.md @@ -0,0 +1,11 @@ +# Changelog +This file describe all changes of each updates on the website + +## Release dates +| Date | Number | Type | Version | +|-----------:|-------:|:--------|:----------------------------| +| 2021-03-31 | 1 | Release | [v1.0.0](###Release-v1.0.0) | + +## Changes +### Release v1.0.0 +First viable version \ No newline at end of file diff --git a/update.bat b/update.bat new file mode 100644 index 0000000..efb7670 --- /dev/null +++ b/update.bat @@ -0,0 +1,5 @@ +git pull +php composer.phar update +php bin/console doctrine:migrations:diff -n +php bin/console doctrine:migrations:migrate -n +pause \ No newline at end of file