Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos
Commits
f7ada57f
Commit
f7ada57f
authored
Sep 25, 2013
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/flask : minimum flask application now downloaded from a git repo
parent
3b67f66b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
40 deletions
+1
-40
stack/flask/instance-flask.cfg
stack/flask/instance-flask.cfg
+0
-19
stack/flask/software.cfg
stack/flask/software.cfg
+1
-21
No files found.
stack/flask/instance-flask.cfg
View file @
f7ada57f
...
@@ -10,8 +10,6 @@ parts =
...
@@ -10,8 +10,6 @@ parts =
nginx-promise
nginx-promise
flask-promise
flask-promise
symlinks
symlinks
base-server
base-module
copy-git-project
copy-git-project
git-change-origin
git-change-origin
...
@@ -143,23 +141,6 @@ wrapper = $${directory:services}/nginx-frontend
...
@@ -143,23 +141,6 @@ wrapper = $${directory:services}/nginx-frontend
# Put domain name
# Put domain name
name = example.com
name = example.com
#copy in var/www the minimum files to create a flask application
[base-server]
recipe = hexagonit.recipe.download
url = ${server_base_py:location}/${server_base_py:filename}
md5sum = a2bf143a482d46dee421a24189a4b069
download-only = true
destination = $${directory:www}
mode = 0644
[base-module]
recipe = hexagonit.recipe.download
url = ${module_base_py:location}/${module_base_py:filename}
md5sum = 5ad39f196605b062e94b738da03fe91c
download-only = true
destination = $${directory:www}
mode = 0644
[copy-git-project]
[copy-git-project]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = ${git-user:location}
repository = ${git-user:location}
...
...
stack/flask/software.cfg
View file @
f7ada57f
...
@@ -17,8 +17,6 @@ parts =
...
@@ -17,8 +17,6 @@ parts =
nginx
nginx
nginx_template_launcher
nginx_template_launcher
template_nginx_conf
template_nginx_conf
module_base_py
server_base_py
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
...
@@ -31,7 +29,7 @@ mode = 0644
...
@@ -31,7 +29,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-flask.cfg
url = ${:_profile_base_location_}/instance-flask.cfg
output = ${buildout:directory}/template-flask.cfg
output = ${buildout:directory}/template-flask.cfg
md5sum =
6aa3a502443034806be7024f1313d3c2
md5sum =
dd9a27e95cebde0e1f6e1d1c6b25722b
mode = 0644
mode = 0644
[template_nginx_conf]
[template_nginx_conf]
...
@@ -50,24 +48,6 @@ filename = launcher-nginx.in
...
@@ -50,24 +48,6 @@ filename = launcher-nginx.in
mode = 0644
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[module_base_py]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
md5sum = 5ad39f196605b062e94b738da03fe91c
location = ${buildout:parts-directory}/${:_buildout_section_name_}
download-only = true
filename = __init__.py
mode = 0644
[server_base_py]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
md5sum = a2bf143a482d46dee421a24189a4b069
location = ${buildout:parts-directory}/${:_buildout_section_name_}
download-only = true
filename = server.py
mode = 0644
[git-user]
[git-user]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = http://github.com/Sebatyne/FlaskMinimum.git
repository = http://github.com/Sebatyne/FlaskMinimum.git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment