Open marc-hanheide opened 7 years ago
git clone https://github.com/LCAS/PGRs.git
cd PGRs/laravel/
composer install
mkdir -p storage/framework/views
mkdir -p storage/framework/sessions
mysql -u root -p
CREATE DATABASE IF NOT EXISTS DATABASE_NAME;
cp .env.example .env
vim .env
DB_HOST=localhost DB_CONNECTION=mysql DB_DATABASE=DATABASE_NAME DB_USERNAME=YOUR_USERNAME DB_PASSWORD=YOUR_PASSWORD
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan serve
To get past the login screen you can open up route file located at app/Http/route.php and add the following to the top:
Auth::loginUsingId( $USER_ID );
:+1: great!!!
@marc-hanheide: We can close this, as the documentation for staring has now been added to other issues in the pgr systems repo.
The Docker and none Docker version are both written up, but we should probably combine these in the README.md
(I don't have permissions to close this issue)
@jaime-lord, I forked your repo into our own organisation.
Would you have any documentation on how to get started. I had a very quick look and couldn't find anything (not even a README file). Also, it seems you have based this on Laravel? I'm not familiar at all with this framework, so I would appreciate a little bit of information on how to get started. Simply things like actually firing up the server etc. Also, it seems there is quite a bit of "dead code" in there, as you have just included a lot of 3rd party libs including examples (e.g. bootstrap)? So, in order to help understanding your system, could you point me to the main files and directories of your implementation.