Last active
June 12, 2017 09:37
-
-
Save danlindow/3e63a977df7617eed4f1faffc47b2c6a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from flask import Flask | |
application = Flask(__name__) | |
@application.route('/') | |
def hello_world(): | |
return 'Hello, World! Testing GitLab CI/CD :)" | |
if __name__ == "__main__": | |
application.run(host='0.0.0.0', debug=True) |
This file contains hidden or 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
pip install flask | |
mkdir ~/projects | |
cd ~/projects/my_project | |
git init | |
git remote add origin git@<your_url>:root/project_name.git | |
nano README.md | |
pip freeze > requirements.txt | |
git add . | |
git commit | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment