ソースを参照

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```