A site for people who want to share tools
0
stars
0
forks
source link
Tool Exchange
Local setup
- open an Ubuntu terminal
- make sure you're in your home directory, where you've hopefully already created a projects folder:
cd ~/projects
- make sure you have docker desktop running
- clone this repo:
git clone git@github.com:csci-2479-sp-2022/tool-exchange.git
- go into the project:
cd tool-exchange
- copy the
.env.example
file to .env
- make sure the DB_HOST in your
.env
file is set to mysql
- run the following docker command to install our Sail dependencies:
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/var/www/html \
-w /var/www/html \
laravelsail/php81-composer:latest \
composer install --ignore-platform-reqs
- start up the app:
./vendor/bin/sail up -d
- create app key:
./vendor/bin/sail artisan key:generate