Compare commits
No commits in common. "346f175b3691e5877f1bd357535e2c5fe5962a90" and "c7e02b5e62ff5cfaf8282263e4a0a57aaf27e2e8" have entirely different histories.
346f175b36
...
c7e02b5e62
20
README.md
20
README.md
|
@ -32,23 +32,3 @@ Formats :
|
|||
|
||||
- `user` : `${firstname}.${lastname}`
|
||||
- `user_subdomain` : `${firstname}-${lastname}`
|
||||
|
||||
## Usage
|
||||
|
||||
1. Cloner le repo.
|
||||
1. Lancer le serveur.
|
||||
- Executer `deno task start` //Serveur sur le port 8000 par default.
|
||||
- Ou, executer `PORT=7000 deno task start` //Spécifier le port d'écoute
|
||||
désiré.
|
||||
- Ou, utiliser le service définit dans
|
||||
`cohabit/server_config/portfolio_server`.
|
||||
|
||||
## Contribution
|
||||
|
||||
1. Install [deno](https://deno.land).
|
||||
1. Follow
|
||||
[deno convention](https://docs.deno.com/runtime/manual/references/contributing/style_guide).
|
||||
1. Follow
|
||||
[conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).
|
||||
1. Follow [sermver](https://semver.org/lang/fr/).
|
||||
1. Run and check `deno task check` before any commit.
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
"serve": "deno run --allow-net=\"https://git.cohabit.fr,localhost:$PORT,127.0.0.1:$PORT,0.0.0.0:$PORT\" --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL ./server.ts",
|
||||
"test": "deno test --ignore=server.ts --allow-env=PORT,COHABIT_GIT_URL,PORTFOLIO_BASE_URL --doc",
|
||||
"lint": "deno lint --ignore=docs",
|
||||
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts",
|
||||
"check": "deno task lint && deno task test && deno task doc"
|
||||
"doc": "deno doc --html --name='Portfolio Sever' ./src/*.ts"
|
||||
},
|
||||
"fmt": {
|
||||
"singleQuote": true,
|
||||
|
|
Loading…
Reference in a new issue