This is the base repository for Gakken Indonesia Learning Management System (LMS) for use by select institutions. For development tasks list, please refer to this Trello board.
- SSH: [email protected]:gakkenidn/lms.git
- HTTPS: https://[username]@bitbucket.org/gakkenidn/lms.git
- Clone the repo (see Repo URLs).
- Make sure you have all the requirements set up as stated in the Laravel Docs.
- Navigate to root project directory.
- Install PHP dependencies
composer install. - Copy environment definitions file
[cp|copy] .env.example .env, then edit contents accordingly. - Migrate database
php artisan migrate. - Install roles to database
php artisan roles:install. - Configure app settings
php artisan app:config.
- Do the Installation procedure.
- Checkout
developbranch. - Install missing PHP dependencies
composer install. - Seed database with dummy data
php artisan db:seed. - Serve application using PHP development server
php artisan serve. - Access application at
http://localhost:8000/.
- Install Node dependencies
npm i. - Edit your machine's
hostsfile to point lms.gakken-idn.local to 127.0.0.1. - Serve application using PHP development serve
php artisan serve --port=80. - After creating feature branch, run Webpack compiler, serve with BrowserSync, then watch file changes
npm run watch.
- Checkout
developbranch:git checkout develop. - Create and checkout feature branch with name in format
feature/[username-feature-name]:git checkout -b feature/endyhardy-admin-create-user. - Start coding.
- Commit changes which you think is significant enough.
- Updates to dependency requirements should be committed individually (not committed along with code changes).
- Commit message should clearly describe the changes made, and be in present tense.
- Test everything related to the feature and fix known bugs.
- When finished, make a pull request to
origin/developbranch.