MZWT / sharingengine

情報共有サイト
0 stars 0 forks source link

Sharingengine

1. Cloning project to PC

From terminal or command line, run the following command

 git clone https://github.com/MZWT/sharingengine.git

2. Pull source from develop

cd sharingengine
git checkout develop
git pull origin develop

3. Add .env file in sharingengine>laravel-app>.env

cp laravel-app/.env.local laravel-app/.env

4. Create/start container in docker

docker-compose up -d

5. Enter to PHP container & Laravel App and run migrate command

docker-compose exec app bash
cd laravel-app
composer install
php artisan migrate

6. Run laravel app on browser

http://localhost:8000/

7. If you do not have Node.js installed, Please download & install (if already install can skip this step.)

Can check Node install condition by running

node -v

node version : v15.11.0 is suggested for this project.

manually download link

reference link for installing on mac

reference link for installing on window

8. Running React App

exit
cd react-app
npm install
npm start

9. Run React app on browser

http://localhost:3000/