Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
mason-today-web
Commits
5a92f45c
Commit
5a92f45c
authored
Feb 05, 2018
by
Zach Osman
Browse files
Adding #!/bin/sh to scripts to force scripts to use bash
making using sh to start scripts on bash alternatives unnessacary
parent
e3c5539c
Changes
3
Show whitespace changes
Inline
Side-by-side
README.md
View file @
5a92f45c
...
...
@@ -14,4 +14,4 @@ Step 3 - Create a web page that list out all the events and change what are pres
1) Create a
`virtualenv`
if you know what that is
2) Install the project's dependencies by running
`pip install -r requirements.txt`
3) Start the Flask development server by running
`
sh
start.sh`
3) Start the Flask development server by running
`
./
start.sh`
start.sh
View file @
5a92f45c
#!/bin/sh
export
FLASK_APP
=
mason-today/app.py
export
FLASK_DEBUG
=
1
flask run
startprod.sh
View file @
5a92f45c
#!/bin/sh
export
FLASK_APP
=
mason-today/app.py
export
FLASK_DEBUG
=
0
flask run
--host
=
0.0.0.0
--port
=
80
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