Proyek Tugas Akhir Event-Hub dibangun dengan menggunakan Yii 2.
Aplikasi ini terdiri dari 5 macam yaitu: admin, api, console, frontend, dan organizer.
Struktur dari aplikasi ini dibangun untuk team development, sehingga dapat dijalankan dengan berbagai kondisi.
Documentation is at docs/guide/README.md.
admin
assets/ contains application assets such as JavaScript and CSS
config/ contains admin configurations
controllers/ contains Web controller classes
models/ contains admin-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for backend application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
common
config/ contains shared configurations
mail/ contains view files for e-mails
models/ contains model classes used in both backend and frontend
tests/ contains tests for common classes
console
config/ contains console configurations
controllers/ contains console controllers (commands)
migrations/ contains database migrations
models/ contains console-specific model classes
runtime/ contains files generated during runtime
frontend
assets/ contains application assets such as JavaScript and CSS
config/ contains frontend configurations
controllers/ contains Web controller classes
models/ contains frontend-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for frontend application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
widgets/ contains frontend widgets
organizer
assets/ contains application assets such as JavaScript and CSS
config/ contains organizer configurations
controllers/ contains Web controller classes
models/ contains organizer-specific model classes
runtime/ contains files generated during runtime
tests/ contains tests for backend application
views/ contains view files for the Web application
web/ contains the entry script and Web resources
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides
- Download dan install VirtualBox.
- Download dan install vagrant.
- Create Github Personal API Token.
- Clone Repository dengan cara
git clone https://github.com/adryanev/event-hub.git
. - Ganti Personal Api token di
vagrant/config/vagrant.local.yml
. - Jalankan command
vagrant plugin install vagrant-hostmanager
vagrant up
. - Tambahkan hosts file.
192.168.2.1 admin.event-hub.test
192.168.2.1 api.event-hub.test
192.168.2.1 event-hub.test
192.168.2.1 organizer.event-hub.test