A lighter more stable reimplementation of dhisha in Laravel 5.6 as seen at www.dhisha.in
- Composer
- A VM environment like 'homestead' to host it on (I ended up using xampp cause of homestead's stupidly slow server download bandwidth)
- VC++ redist 2015
- A good Text Editor (Atom/VSCode/Sublime)
- clone from git using
$ git clone https://github.com/spell1612/dhisha-lite.git <foldername>
(Foldername optional. Defaults to repo name) - cd into folder with
$ cd <foldername>
or$ cd dhisha-lite
by default - create new env file by using
$ cp .env.example .env
- Setup your local environment (create a database etc...)
- Enter your environment details in the .env file
- grab the dependancies with
$ composer update
- dependancies can be defined in the composer.json file
- From the root folder run
$ php artisan key:generate
- Migrate the db schema using
$ php artisan migrate
(make sure databse is running) - run
$ composer dump-autoload
- Seed default db values with
$ php artisan db:seed
$ php artisan serve
to run the app at localhost:8000
Use the Admin
Button at the Navigation section of the footer to access admin panel.(Or use /home
route)
Default Login creds
email: admin@admin.com
password: adminpass
Give me a pull request if you wanna help add more features/fix bugs.