소스 검색

basic setup doc

ljoaquim 5 달 전
부모
커밋
516530c4b1
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      README.md

+ 17 - 0
README.md

@@ -0,0 +1,17 @@
+# setup
+
+1. run ```./setup```
+
+2. run ```compose install```
+
+3. run ```php -S localhost:8000 -t public```
+
+4. on another terminal run ```curl -X POST http://localhost:8000/register -H "Content-Type: application/json" -d '{"username":"du","password":"du123456"}'```
+
+5. on the other terminal run ```./bin/testgetjwt```
+
+6. on the other terminal run ```export JWT=<jwt tooken>```
+
+7. on the other terminal run ```./bin/testusejwt```
+
+8. on the other terminal run ```./bin/testhmac```