Ver código fonte

add readme

feature/findHolesV2
Elias Sebbar 6 meses atrás
pai
commit
8e1958c6b3
2 arquivos alterados com 40 adições e 1 exclusões
  1. 1
    1
      pyproject.toml
  2. 39
    0
      readme.md

+ 1
- 1
pyproject.toml Ver arquivo

@@ -4,7 +4,7 @@ version = "0.1.0"
4 4
 description = ""
5 5
 authors = ["demisel <elias@demisel.space>"]
6 6
 readme = "README.md"
7
-packages = [{include = "messenger_1million_stats"}]
7
+packages = [{include = "million"}]
8 8
 
9 9
 [tool.poetry.dependencies]
10 10
 python = "^3.10"

+ 39
- 0
readme.md Ver arquivo

@@ -0,0 +1,39 @@
1
+# Messenger 1 Million
2
+
3
+## Dev environment setup
4
+
5
+### 1. Install poetry
6
+
7
+```bash
8
+curl -sSL https://install.python-poetry.org | python3 -
9
+```
10
+Optionally configure poetry to create virtual envs in project root directories
11
+```bash
12
+poetry config virtualenvs.in-project true
13
+```
14
+
15
+### 2. Setup a poetry virtual env
16
+```bash
17
+poetry shell
18
+```
19
+
20
+### 3. Install dependencies
21
+```bash
22
+poetry install
23
+```
24
+
25
+## Run scripts
26
+
27
+```bash
28
+python -m scripts.[script name]
29
+```
30
+
31
+### Examples : 
32
+
33
+```bash
34
+python -m scripts.find_holes
35
+```
36
+
37
+```bash
38
+python -m scripts.read_top
39
+```

Carregando…
Cancelar
Salvar