본문 바로가기
728x90
반응형

Framework (Backend)/Laravel10

(Lavavel) 관리자 추가하기 : Laravel 8.x 1. 저장 프로시저 (insertAdmin) 생성$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -AWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 21Server version: 8.0.26-0ubuntu0.20.04.2 (Ubuntu)C.. 2021. 8. 24.
(Lavavel) 관리자 목록 보여주기 : Laravel 8.x 1. 관련 모듈 설치$ sudo apt-get install php-mysql 2. DB연결 설정$ sudo vi ~/project/xyz/.env...DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=xyzDB_USERNAME=xyzDB_PASSWORD=xyz123... 3. 저장 프로시저 (listAdmins) 생성$ mysql -u xyz -pxyz123 xyzmysql: [Warning] Using a password on the command line interface can be insecure.Reading table information for completion of table and column namesYou can turn o.. 2021. 8. 23.
(Lavavel) 첫페이지 만들어보기 : Laravel 8.x 놀자코딩#Programming #Coding #Development #API #Server #python #golang #java #nodejs #javascript #프로그래밍 #코딩 #개발 #서버 #파이썬 #Go언어 #자바 #노드 #자바스크립트www.youtube.com 1. 프로젝트 디렉토리 구조xyz├── app│ ├── Console│ ├── Exceptions│ ├── Http│ │ ├── Controllers│ │ └── Middleware│ ├── Models│ └── Providers├── bootstrap├── config├── database│ ├── factories│ ├── migrations│ └── seeders├── public├──.. 2021. 8. 23.
시작 (설치) : Laravel 8.x Tutorial 놀자코딩#Programming #Coding #Development #API #Server #python #golang #java #nodejs #javascript #프로그래밍 #코딩 #개발 #서버 #파이썬 #Go언어 #자바 #노드 #자바스크립트www.youtube.com  먼저, NginX 와 PHP-FPM을 설치/구성했다고 가정하겠다. 구성이 안되어 있다면, 아래 링크를 참조해서 설치하면 되겠다. 그리고, OS계정은 기본계정인 ubuntu 를 사용하는 것으로 가정한다. 사용할 프로젝트 디렉토리는 ~/project/xyz 로 될 것이다.Ubuntu(20.04) + nginx + php-fpm(FastCGI)  1. composer 설치$ curl -sS https://getcomposer.org/in.. 2021. 8. 23.
728x90
반응형