- PHP 7
- MySQL 8
- Composer
- NodeJS
- NPM
- Yarn
git clone https://github.com/avidianity/rmms.gitcd rmmscd backend && composer installcd ../frontend && yarn
Create .env file in backend folder using .env.example file and put correct database credentials.
Example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=rmms
DB_USERNAME=rmms
DB_PASSWORD=rmms
In backend folder, run the following commands in order:
php artisan key:generatephp artisan migrate
Create .env file in frontend folder using .env.example file and put correct backend url.
Example:
REACT_APP_BACKEND_URL=http://localhost:8000
- Backend:
php artisan serve - Frontend:
yarn start