GithubHelp home page GithubHelp logo

apsonex / blade-ui-kit.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blade-ui-kit/blade-ui-kit.com

0.0 0.0 0.0 3.31 MB

Source code for the Blade UI Kit website and documentation.

Home Page: https://blade-ui-kit.com

License: MIT License

PHP 70.64% Blade 29.36%

blade-ui-kit.com's Introduction

blade-ui-kit.com

Tests

The source code for blade-ui-kit.com

Requirements

The following tools are required in order to start the installation.

Installation

  1. Clone this repository locally with git clone [email protected]:blade-ui-kit/blade-ui-kit.com.git blade-ui-kit.com
  2. Copy the .env.example file to .env
  3. Install the PHP dependencies with composer install
  4. Generate a new app key with php artisan key:generate
  5. Install and compile the front-end dependencies with npm install && npm run dev
  6. Import all icon sets using php artisan icons:import
  7. Set up Meilisearch (optionally)
  8. Serve the website locally by running php artisan serve

You can now visit the app in your browser by visiting http://127.0.0.1:8000.

Meilisearch

To get up and running with Meilisearch for the website locally, first make sure you download and launch Meilisearch.

After that, create an icons index using:

php artisan scout:index icons

After creating the index, you'll need to configure a filterable attribute for the icon sets:

curl \
  -X PUT 'http://localhost:7700/indexes/icons/settings/filterable-attributes' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer masterKey' \
  --data-binary '[
    "icon_set_id"
  ]'

Then, import all icons into the search using:

php artisan scout:import "App\\Models\\Icon"

Now all icons from all icon sets are indexed and searchable at http://127.0.0.1:8000/blade-icons.

You can clear all icons again by running:

php artisan scout:flush "App\\Models\\Icon"

Commands

Command Description
php artisan test Run the tests
php artisan migrate:fresh --seed Reset the database
php artisan icons:import Import all icon sets into Sqlite
npm run watch Watch for changes in CSS and JS files

blade-ui-kit.com's People

Contributors

driesvints avatar dependabot[bot] avatar swapnilsarwe avatar nuernbergera avatar eduard9969 avatar mallardduck avatar andreiio avatar nerdroid23 avatar tjoosten avatar octoper avatar stijnvanouplines avatar irazasyed avatar saade avatar troccoli avatar mazedlx avatar drbyte avatar brunocfalcao avatar

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.