Skip to content
Snippets Groups Projects
Commit d3ae4d85 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

readmes

parent a74f2ce5
No related branches found
No related tags found
No related merge requests found
# Gepetto Packages Dashboard # Gepetto Packages Dashboard
## APIs ## APIs used
- github: https://api.github.com/orgs/stack-of-tasks/repos - github: https://api.github.com/orgs/stack-of-tasks/repos
- gitlab: https://eur0c.laas.fr/api/v4/projects - gitlab: https://eur0c.laas.fr/api/v4/projects
- redmine: https://redmine.laas.fr/projects.json - redmine: https://redmine.laas.fr/projects.json
### Get dependencies
- Get Python 3
- `pip3 install -U -r requirements.txt` (you might need `sudo`, or *better* `--user`, or *best* a virtualenv)
## RUN ## RUN
``` ```
......
# Greet Newcomers # Greet Newcomers
## Get ready ## Get dependencies
- Get Python 3 & pip - Get Python 3
- `pip3 install ldap3` (you might need sudo, or --user, or a virtualenv) - `pip3 install ldap3` (you might need `sudo`, or *better* `--user`, or *best* a virtualenv)
- `mkdir -p ~/.cache` - `mkdir -p ~/.cache`
## Go ! ## Go !
...@@ -20,8 +20,5 @@ The template of this mail is in `template.txt`. ...@@ -20,8 +20,5 @@ The template of this mail is in `template.txt`.
To run this script everyday at 5 AM: To run this script everyday at 5 AM:
```bash ```bash
crontab -l > cronfile (crontab -l; echo "0 5 * * * $(which python) $(pwd)/greet_newcomers.py") | crontab -
echo "0 5 * * * $(which python) $(pwd)/greet_newcomers.py" >> cronfile
crontab cronfile
rm cronfile
``` ```
...@@ -9,22 +9,8 @@ For now, it will compare them to HAL's one. ...@@ -9,22 +9,8 @@ For now, it will compare them to HAL's one.
### Get dependencies ### Get dependencies
Using of [virtualenvwrapper](https://virtualenvwrapper.readthedocs.org/en/latest/) on bash or zsh, or - Get Python 3
[virtualfish](http://virtualfish.readthedocs.org/en/latest/index.html) on [fish](https://fishshell.com/) is strongly - `pip3 install -U -r requirements.txt` (you might need `sudo`, or *better* `--user`, or *best* a virtualenv)
recommended. Do not forget that this project uses Python3 (→ `mkvirtualenv -p python3
gepetto_website_tools_venv` / `vf new -p python3 gepetto_website_tools_venv`)
Then, if you have [pip-tools](https://github.com/nvie/pip-tools):
```bash
pip-sync
```
Else:
```bash
pip install -U -r requirements.txt
```
### HOWTO use it ### HOWTO use it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment