GithubHelp home page GithubHelp logo

laravel-test's Introduction

Simple Messages Board

Really simple messages board web application developed with Laravel 7.

How to build the web application

Using Laradock

Reference: https://laradock.io/getting-started/

Requirements

  • Git
  • Docker [ >= 17.12 ]

Installation

  1. Clone the laradock repository:

    git clone https://github.com/laradock/laradock.git
    
  2. Clone this repository:

    git clone https://github.com/fsh0524/laravel-test.git
    
  3. In laradock, edit your web server sites configuration.

    cp env-example .env
    

    At the top, change the APP_CODE_PATH_HOST variable to the project path.

    APP_CODE_PATH_HOST=/path/to/laravel-test/
    

    In the project, edit the configuration for this project.

    cp .env.example .env
    
  4. (Optional) Change the port that nginx will use. If there are already some services using the port, you may want to change this.

    # Change the port number to whatever you want.
    NGINX_HOST_HTTP_PORT=80
    NGINX_HOST_HTTPS_PORT=443
    
  5. In laradock's directory, build the environment and run it using docker-compose.

    docker-compose up -d nginx
    

    Enter the Workspace container, to execute commands like (Artisan, Composer, PHPUnit, Gulp, โ€ฆ)

    # With laradock user
    docker-compose exec -u laradock workspace bash
    
  6. Install composer dependencies.

    composer i
    
  7. Migrate the database.

    touch database/database.sqlite
    php artisan migrate:install
    
  8. Generate your application encryption key using:

    php artisan key:generate
    
  9. Check http://localhost/ for the web application.

laravel-test's People

Contributors

fsh0524 avatar

Watchers

 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.