This app is a Platform where people can gather web developers for their developments. We call it as Devpla2.0 and this is an updated version of Devpla where Laravel is used for Frontend and Backend. Devpla2.0 has been developed by using Vue.js for Fronend and Laravel for Backend.
【clone source from github】
- Clone this repository
git clone https://github.com/tinaba96/devpla2.0.git
【prepare the docker for staring】
-
Set your own
.env
file (put environment variables in .env file) -
Build the images
docker compose build
-
Start the containers
docker compose up -d
【Install packages】
-
Login to Docker
docker compose exec app bash
- Install Laravel, if needed
-
install composer
composer install
【In case of having 500 http error】
-
create .env file under
app
directory in laravelcp .env.example .env
【Facing No application encryption key has been specified
when you access to localhost】
-
go inside app container, run
php artisan key:generate
【Install Vue】
-
Install npm
npm install
- Install vuejs, if needed
npm install -D vue npm install -D vue-router
【Verify Vue】
- Please run
npm run watch
【Try to access http://localhost:$port/#/
or /login
to verify your local environment】
- Access to the localhost
- If you can access to the
/
and/login
, your setup is finished.