Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/code-architect/laravel_blog
A fully functional professional multi site blogging app ready to deploy. With pagination, soft-deletes, WordPress like image library, custom image thumbnail creator. Customize the front-end the way you want.
https://github.com/code-architect/laravel_blog
galary image-processing javascript laravel-5-package laravel-application laravel-framework laravel54 pagination php responsive
Last synced: about 2 months ago
JSON representation
A fully functional professional multi site blogging app ready to deploy. With pagination, soft-deletes, WordPress like image library, custom image thumbnail creator. Customize the front-end the way you want.
- Host: GitHub
- URL: https://github.com/code-architect/laravel_blog
- Owner: code-architect
- Created: 2018-09-04T04:55:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T12:44:34.000Z (over 6 years ago)
- Last Synced: 2024-10-11T10:41:57.963Z (3 months ago)
- Topics: galary, image-processing, javascript, laravel-5-package, laravel-application, laravel-framework, laravel54, pagination, php, responsive
- Language: PHP
- Homepage: https://www.gunstar.co.uk
- Size: 7.39 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# About This Project
##Setting up for production
Please create a user with ID: 1
Please create a category named Unauthorized with ID: 1Or simply run the `php artisan db seed` command
You can edit it in the `database/seeds/` folder, cange the values and then run `db:seed`.Or just do this in `database/seeds/DatabaseSeeder.php`
`$this->call(UsersTableSeeder::class);`
`$this->call(SiteAddressesTableSeeder::class);`
`//$this->call(PostsTableSeeder::class);`
`$this->call(CategoriesTableSeeder::class);`
`$this->call(SeosTableSeeder::class);`
`$this->call(RolesTableSeeder::class);`
`$this->call(PermissionsTableSeeder::class);`
`//$this->call(SocialsTableSeeder::class);`#####Change your .env file
After running ` git pull ` from bitbucket, create a `.env` file set you `.env` file like this.
There will be a `.env.example` file in there for reference, can use that or use the description below.
- APP_ENV=production
- APP_DEBUG=false
- APP_KEY=SomeRandomString
- DB_HOST=localhost
- DB_DATABASE=[your database name]
- DB_USERNAME=[your user name]
- DB_PASSWORD=[your database password name]
- CACHE_DRIVER=file
- SESSION_DRIVER=file
- QUEUE_DRIVER=sync
- REDIS_HOST=localhost
- REDIS_PASSWORD=null
- REDIS_PORT=6379
- MAIL_DRIVER=smtp
- MAIL_HOST=sendgrid.com
- MAIL_PORT=2525
- MAIL_USERNAME=XXXXXXXXXXX
- MAIL_PASSWORD=XXXXXXXXXXX
- MAIL_ENCRYPTION=nullRun `php artisan key:generate `
Remove `"Barryvdh\Debugbar\ServiceProvider::class,"` from app.php provider.
Remove `"'Debugbar' => Barryvdh\Debugbar\Facade::class,"` from app.php aliasesRun `composer install --no-dev` [ this will install without debugger and testing stuff ]
Run `php artisan migrate` to install tables
Run `php artisan laratrust:migration ` permissions
> set up your server or you can run this project in your local by using `php artisan serve`
##Setting up for Test
#####Change your .env file
After running ` git pull ` from bitbucket, create a `.env` file set you `.env` file like this.
There will be a `.env.example` file in there for reference, can use that or use the production one above with slight change.
- APP_ENV=local
- APP_DEBUG=true
Run `php artisan key:generate `
Run `composer install --no-dev` [ this will install without debugger and testing stuff ]
Run `php artisan migrate` to install tables
Run ` php artisan laratrust:migration ` .env file for production
Run `php artisan db:seed` to use Facker data