Skip to content

Commit 49d2cae

Browse files
nmilosevencukou
authored andcommitted
Make it possible to serve with the Flask server, without Elsa
Fixes: #26
1 parent 5bbf0d6 commit 49d2cae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ script:
77
- echo 'No linters, no tests...'
88
deploy:
99
provider: script
10-
script: python site.py deploy && ./.cloudflare_purge_cache.sh
10+
script: python fedoralovespython.py deploy && ./.cloudflare_purge_cache.sh
1111
on:
1212
branch: master
1313
repo: fedora-python/fedoralovespython.org

site.py renamed to fedoralovespython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import jinja2
44
import yaml
5-
from elsa import cli
65
from flask import Flask, render_template
76
from markdown import markdown
87

@@ -38,4 +37,5 @@ def read_yaml(filename):
3837

3938

4039
if __name__ == '__main__':
40+
from elsa import cli
4141
cli(app, base_url='https://fedoralovespython.org')

0 commit comments

Comments
 (0)