*** Hidden text: cannot be quoted. ***
FIRST TIMERS
1. Create new database, database username and password.
2. Create 2 subdomain, admin and api. (preference - wise)
3. Unzip this folder in api subdomain, like api.domain.com
CURRENT USERS
1. Backup previous DB files
2. composer install --no-scripts/ composer install/ COMPOSER_MEMORY_LIMIT=-1 composer install
3. go to .env
- input database credentials in
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
FRONT_URL= LANDING PAGE/CUSTOMER WEBSITE URL
IMG_HOST=REPLACE example.org with your own Backend url like api.example.com
LIKEWISE, go to config/database.php
- input database credentials in line 51-53
4. Run php artisan key:generate
5. Run php artisan migrate
6. Run php artisan db:seed
7. Run chmod -R 775 storage & then 'php artisan storage:link'
8. Run php artisan optimize:clear
ADMIN FRONT-END SETUP.
Go to public/firebase-mesaging-sw.js and replace with your own firebase web details
Go to src/configs/app-global.js.
- edit and replace the necessary info there, gotten from firebase, your website url, backend url, map api key, etc.
- go to .env in the root folder, replace true in REACT_APP_IS_DEMO with false
- yarn install and then yarn build.
Follow the setup in documentation, it is easy from this point.*** Hidden text: cannot be quoted. ***