Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apolloeleven/zegoff
https://github.com/apolloeleven/zegoff
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/apolloeleven/zegoff
- Owner: apolloeleven
- License: bsd-3-clause
- Created: 2019-10-04T11:06:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T16:55:18.000Z (about 2 years ago)
- Last Synced: 2024-11-09T12:21:08.267Z (about 2 months ago)
- Language: Less
- Size: 3.51 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Installation
- Clone the project and setup virtual hosts.
Apache virtual host template.
```apacheconfigServerAdmin webmaster@localhost
ServerName zegoff.com
ServerAlias zegoff.com
DocumentRoot /var/www/zegoff/html/web
AllowOverride All
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require all granted
ErrorLog /var/www/zegoff/log/error.log
LogLevel error
CustomLog /var/www/zegoff/log/access.log combined```
- Go to the project directory.
Copy `.env.dist` into `.env` and adjust parameters.
Create the database and adjust `DB_DSN` in `.env` file or you can also create database by executing
`php create-database.php` from project's root directory.
This will read `.env` file and if the user
(specified in `.env` file) has database create permission, it will create the database.- Execute `php yii app/setup` command which will set cookie validation key in `.env` file and also create
tables in database.## Demo accounts
Username: `hr`
Password: `hrmanager`Username: `head`
Password: `headofdepartment`Username: `employee`
Password: `employee`DIRECTORY STRUCTURE
-------------------assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resources