Skip to content

Instantly share code, notes, and snippets.

@danlindow
Last active June 12, 2017 09:37
Show Gist options
  • Save danlindow/3e63a977df7617eed4f1faffc47b2c6a to your computer and use it in GitHub Desktop.
Save danlindow/3e63a977df7617eed4f1faffc47b2c6a to your computer and use it in GitHub Desktop.
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)
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