-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from FelixLuciano/Project-Struct
Project struct
- Loading branch information
Showing
17 changed files
with
554 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,42 +15,19 @@ pip install -r requirements.txt | |
``` | ||
|
||
|
||
## Configuration | ||
|
||
The `config.json` (at project root) file contains essential definitions be for sending and some optional properties for templating. Because this file may contain sensitive information it is ignored, so it needs to be created manually at installation. | ||
|
||
```json | ||
{ | ||
"sheet": { | ||
"id": "Google Sheet id", | ||
"pages": { | ||
"joins": "Subscribers tab name", | ||
"leaves": "Unsubscribers tab name" | ||
}, | ||
"columns": { | ||
"date": "Date", | ||
"mail": "Mail", | ||
"name": "Name" | ||
} | ||
}, | ||
"test_user": { | ||
"Date": "00/00/0000 00:00:00", | ||
"Mail": "[email protected]", | ||
"Name": "Luciano" | ||
}, | ||
"props": { | ||
"org": "PyNews SA", | ||
"author": "Luciano Felix", | ||
} | ||
} | ||
## Credentials | ||
|
||
``` | ||
TO DO. | ||
|
||
|
||
## Credentials | ||
## Create a page | ||
|
||
TO DO. | ||
|
||
```bash | ||
$ python scripts/create.py | ||
``` | ||
|
||
|
||
## Template properties | ||
|
||
|
@@ -99,6 +76,16 @@ $ python scripts/send.py --test | |
> Newsletter launched successfully! | ||
``` | ||
|
||
|
||
## Watch for canges | ||
|
||
TO DO. | ||
|
||
```bash | ||
$ python scripts/watch.py | ||
``` | ||
|
||
|
||
## VS Code tasks | ||
|
||
[Task Explorer](https://marketplace.visualstudio.com/items?itemName=spmeesseman.vscode-taskexplorer) | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"a": { | ||
"color": "currentcolor" | ||
}, | ||
|
||
"img": { | ||
"max-width": "100%" | ||
} | ||
} |
Oops, something went wrong.