Giter Site home page Giter Site logo

lusp's Introduction

Lusp

A RESTful User Service API and its implementation.

How-tos

Start a development environment

Prerequisites

  • composer
  • vagrant

First add the following entry to your /etc/hosts or C:\Windows\System32\drivers\etc\hosts:

192.168.56.56	homestead.test

Then run the following commands to create Homestead.yaml:

composer install
vendor/bin/homestead make --ip 192.168.56.56

Then ensure .env have values like

APP_URL=https://homestead.test
GITHUB_CLIENT_ID=0123456789abcdef0123
GITHUB_CLIENT_SECRET=0123456789abcdef0123456789abcdef01234567

And run finally

vagrant up --provision

Xdebug

To Xdebug Lusp, run xon and then edit /etc/php/8.1/cli/conf.d/20-xdebug.ini on your Homestead VM as follows:

--- a
+++ b
@@ -1,5 +1,7 @@
 zend_extension=xdebug.so
 xdebug.mode = debug
+xdebug.start_with_request = yes
 xdebug.discover_client_host = true
+xdebug.client_host = 10.0.2.2
 xdebug.client_port = 9003
 xdebug.max_nesting_level = 512

Then execute systemctl restart php8.1-fpm.service.

License

CC0

The worktree to the commit d72e3a8 has been licensed under MIT.

lusp's People

Contributors

sueka 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.