Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35e0dd8

Browse files
committed
Added steps to the readme
1 parent 8e3fe99 commit 35e0dd8

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

‎README.md‎

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
### PythonMS-CLI
22

3-
Python MicroService is a Python utility to manage your Python scripts.
3+
Python MicroServices is a Python utility to manage your Python scripts of all kinds without the hassle of creating a service for each.
44

5-
You can remotely check if they are up and running, their state, automatically restart them in case of failure and log and kill, stop or restart them.
5+
You can remotely deploy them using git, then access the console to check if they are up and running.
6+
Monitor their state, automatically restart them in case of failure, log, kill, stop or restart them.
7+
8+
### How to use this?
9+
10+
#### Step 1
11+
Write your Python script
12+
#### Step 2
13+
Add your repository's configuration to your config.py file
14+
#### Step 3
15+
Once you are connected to the console you can check your script's status with the list command
16+
#### Step 4
17+
Display your script's log using the log command
618

719
## Requirements
820

9-
- Python3.4
10-
- Pip (recommended)
21+
- systemd
22+
- Python3.4+
23+
- pip (recommended)
1124

1225
## Setup
1326

@@ -25,10 +38,8 @@ Before starting to use PythonMS you must configure it. You can use the config.ex
2538

2639
```
2740
run={
28-
"SMTPTester" : {"directory":"SMTPTester", "restart":False, "main_method":"main", "repository":"https://github.com/lup\
29-
in012345/SMTPTester.git"},
30-
"epitech_api_flask" : {"repository":"https://github.com/lupin012345/epitech-api-public.git", "restart": False, "main_\
31-
method":"app.run", "directory":"epitechApi", "flask":{"host":"0.0.0.0", "port":8081}},
41+
"SMTPTester" : {"directory":"SMTPTester", "restart":False, "main_method":"main", "repository":"https://github.com/lp1dev/SMTPTester.git"},
42+
"epitech_api_flask" : {"repository":"https://github.com/lp1dev/epitech-api-public.git", "restart": False, "main_method":"app.run", "directory":"epitechApi", "flask":{"host":"0.0.0.0", "port":8081}},
3243
"myScript" : {"directory":"myscript_dir", "restart":True, "main_method":"run"}
3344
}
3445

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /