Skip to content

Ansonator/learning-glitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glitch-flask-starter

A starter project for python web development in glitch.

Requirements

Running locally

  • Install pipenv: python3 -m pip install pipenv
  • Install dependencies: pipenv install --ignore-pipfile
  • Run: pipenv run python server.py

Adding new dependencies

  • Install development dependencies: pipenv install --dev
  • Enter environment: pipenv shell
  • Install the new dependency: pip install <package>
  • View dependencies: pip list
  • Generate new lockfile: pipenv lock
  • Update requirements.txt for glitch, since it only has pip:
    • python -m pip freeze > requirements.txt
  • Exit: exit

Issues

  • I haven't figured out how to use pipenv with glitch.

Credits

Adapted from flask-python3.

About

A starter project for Flask web page in glitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published