Giter Club home page Giter Club logo

openlaravel's Introduction

Open Laravel

A repository of open source projects built using Laravel.

Getting Started

Clone the project repository by running the command below if you use SSH

git clone [email protected]:ammezie/openlaravel.git

If you use https, use this instead

git clone https://github.com/ammezie/openlaravel.git

Getting Started

cd into the project directory and run:

composer install

Duplicate .env.example and rename it .env

Run:

php artisan key:generate

Then run

npm install

Setup Algolia

Create a free Algolia account at https://www.algolia.com/users/sign_up then fill in your Algolia API Keys in your .env file:

ALGOLIA_APP_ID=xxxxxxxxxx
ALGOLIA_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ALGOLIA_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Setup GitHub

Create a GitHub personal access token at https://github.com/settings/tokens with the following scopes repo:status and public_repo then fill in the generated token in your .env file:

GITHUB_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Then run:

npm run dev

Database Migrations

Be sure to fill in your database details in your .env file before running the migrations:

php artisan migrate

Once the database is settup and migrations are up, run

php artisan serve

and visit http://localhost:8000/ to see the application in action.

TODO

  • Filter by stars
  • Filter by activities
  • Show project repo activity on view project page
  • Add project screenshot/logo

Contributing

๐Ÿ‘๐ŸŽ‰ First off, thanks for taking the time to contribute! ๐ŸŽ‰๐Ÿ‘

Please submit your pull request against the develop branch only.

License

The MIT License (MIT). Please see License File for more information.

openlaravel's People

Contributors

ammezie avatar bu4ak avatar ppshobi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openlaravel's Issues

Cloning and installing the repo does not work as intented

To reproduce issue

  • clone the repo,
  • set up a new DB credentials
  • try issuing any artisan command say migrate

It throws an exception stating that Base table or view not found:

This issue is because of the code inside the app/Providers/AppServiceProvider.php 's boot method

public function boot()
{
        view()->share('projectsCount', Project::where('status', 1)->count());
 }

I think this code tries to gather information even before the migration is run (It Even makes it impossible to execute any artisan commands so as for migrating ). so it says the projects table is not found.
I could workaround this issue by commenting the section for a moment, run the migration and then uncomment the issue.
But a fix for this would be placing this code somewhere else. Can anyone suggest an idea?

installation

Hello again

can you please explain how to set Algolia or any other thing that you have missed in installation guide ..!

generating search

Hello bro

First of all thank you .Second I have installed it and integrated it with algolia,every thing good but the generating search still not working

Text overflow outside the border

Hi, I saw this when I opened your website (look at the arrows):

screenshot-openlaravel com 2016-08-10 19-16-52

It only happened for description that is too long I think. And yeah, on the right side as well.

Migration not working but throwing errors

C:\wamp\www\McDiscovery>php artisan migrate --force

[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'discovery.projec
ts' doesn't exist (SQL: select count(*) as aggregate from projects where
status = 1)

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.