Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 565 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 565 Bytes

DGEco

A simple store writen in PHP 7+. It uses PagSeguro as payment gateway.

dgeco

You just need PHP to with PDO and sqlite3 run this project:

BASE_URL=http://localhost:8080
php -S localhost:8080 home.php

You can use docker to run the store:

docker run \
  --rm \
  -ti \
  -v $PWD:/app \
  -w /app \
  -e BASE_URL=http://localhost:8080 \
  -p 8080:8080 \
  php \
    php -S 0.0.0.0:8080 home.php

Then, you need to make the setup to create the batabase (sqlite) file:

http://localhost:8080/setup

That's it!