View Code? Open in Web Editor
NEW
ShortUrl Test CakePhp 3.8
Shell 3.36%
Batchfile 0.65%
PHP 85.50%
TSQL 0.60%
CSS 9.89%
shorturl's Introduction
ShortUrl TEST CAKE PHP 3.8
- Download project
- Go to project dir
cd /dirName/
.
- Run
composer install
.
- When composer ask for
Token (hidden):
press Enter
- When composer ask:
Set Folder Permissions ? (Default to Y) [Y,n]?
Put Y
- Go to
config/
directory and open app.php
file .
- In file
app.php
on line 255
configure you database username, password, and database name.
- Go to
/config/
dir cd config/
.
- Run migrations scripts
../bin/cake migrations migrate
- When scripts finish you can saw 2 tables in your database phinxlog and short_url table.
- Go to proyect root dir
cd ..
- You can now either use your machine's webserver.
bin/cake server
- If you need specify port to run server you can use -p
bin/cake server -p 8765
shorturl's People
Contributors
Watchers