Project Struture #38263

Closed
opened 2014-01-17 14:39:55 +01:00 by Dorianux · 10 comments
Dorianux commented 2014-01-17 14:39:55 +01:00 (Migrated from localhost:3001)
Owner

Hi!

May i suggest a useful project structure for big flask projects?

+ /docs                      for sphinx documentation
+ /app                       application
   + /config                 config files
   + /mod                    all modules
      + <modulesname>        one directory per Module/Blueprint
   + /static                 static files for application
   + /templates              templates for application
  • README.md short description and hint to docs
  • fabfile.py system installation helper (*)
  • manage.py application installation helper (**)
  • requirements.txt list of modules (made with 'pip freeze >requirements.txt'; and installable with 'pip install -r requirements.txt')
  • .gitignore to skip certain files (e.g. built docs)

(*) using Fabric
(**) using Flask-Script

Hi! May i suggest a useful project structure for big flask projects? ``` + /docs for sphinx documentation + /app application + /config config files + /mod all modules + <modulesname> one directory per Module/Blueprint + /static static files for application + /templates templates for application ``` - README.md short description and hint to docs - fabfile.py system installation helper (*) - manage.py application installation helper (**) - requirements.txt list of modules (made with 'pip freeze >requirements.txt'; and installable with 'pip install -r requirements.txt') - .gitignore to skip certain files (e.g. built docs) (*) using [Fabric ](http://docs.fabfile.org/en/1.8/) (**) using [Flask-Script ](http://flask-script.readthedocs.org/en/latest/)
Dorianux commented 2014-01-17 14:39:55 +01:00 (Migrated from localhost:3001)
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Dorianux commented 2014-01-17 14:39:55 +01:00 (Migrated from localhost:3001)
Author
Owner

Added subscriber: @Dorianux

Added subscriber: @Dorianux

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Dorianux, thanks for your suggestion. I did not see it earlier!
Will work on it soon.

Dorianux, thanks for your suggestion. I did not see it earlier! Will work on it soon.

Added subscriber: @SatishGoda

Added subscriber: @SatishGoda

Added subscriber: @anuga

Added subscriber: @anuga
Francesco Siddi was assigned by Sergey Sharybin 2014-04-11 08:56:20 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

@fsiddi, will assign it to you. Feel free to re-assign to a proper person if needed :)

@fsiddi, will assign it to you. Feel free to re-assign to a proper person if needed :)

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

We can actually close this, since such structure is mostly implemented, and the missing part will be in the future. Thanks @Dorianux!

We can actually close this, since such structure is mostly implemented, and the missing part will be in the future. Thanks @Dorianux!
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: archive/blender-cloud#38263
No description provided.