mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Updating CountryName from "Turkey" to "Türkiye" and FormalName from "Republic of Turkey" to "Republic of Türkiye"
Myboard
Myboard is an open source to do board built with PHP using the Laravel Web Framework.
The project has two basic apps:
- Create todo action items
- Mark Status
Technology Stack
- PHP 7
- Ubuntu 16.04
- Laravel 5.1
- Twitter Bootstrap 3
- Microsoft PHP SQL Server Driver
- Microsoft ODBC SQL Server Driver
Installation Guide
1 Install Pre-Requisites
-
Composer https://getcomposer.org/download/
-
PHP Connector for SQL Server https://blogs.msdn.microsoft.com/sqlphp/2016/10/10/getting-started-with-php-7-sql-server-and-azure-sql-database-on-linux-ubuntu-with-apache/
-
Mcrypt and mbstring http://php.net/manual/en/mcrypt.setup.php
2 Install dependencies
On the project root there is a requirements.pip file. Make sure you install all the required dependencies before running myboard
cd todo
composer install
3 Syncdb
Edit your database.php with your database information
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => 'your_server',
'database' => env('DB_DATABASE', 'your_database'),
'username' => env('DB_USERNAME', 'sa'),
'password' => env('DB_PASSWORD', 'your_password'),
'prefix' => '',
],
Then run the database migration
php artisan migrate
chmod 777 -R storage
4 Run
php artisan serve