Skip to content

Instantly share code, notes, and snippets.

@mehcode
Created January 30, 2017 06:36
Show Gist options
  • Save mehcode/6a1525467c0fed924062424c10a7649d to your computer and use it in GitHub Desktop.
Save mehcode/6a1525467c0fed924062424c10a7649d to your computer and use it in GitHub Desktop.
Web Framework Research

Startup

A startup message should contain the following information:

  • [debug] Configuration Environment (Development/Staging/Production)
  • [debug] Version of Rust (the Language), Rocket (the Framework), and the Project
  • [debug] Mounts
  • [info] Timestamp
  • [info] Address and Port

Examples

Rocket (Rust)

🔧  Configured for development.
    => listening: localhost:8000
    => logging: Normal
🛰  Mounting '/':
    => GET /
🚀  Rocket has launched from http://localhost:8000...
  • (-) States address/port twice
  • (+) Mounts
  • (+) Envrionment

Django (Python)

Performing system checks...

System check identified no issues (0 silenced).
January 30, 2017 - 06:05:07
Django version 1.10.5, using settings 'dj_api_py.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
  • (-) Verbose
  • (+) Timestamp
  • (+) Framework Version
  • (-) Doesn't state version of project
  • (+) Environment
  • (+) Address and Port

Rails (Ruby)

=> Booting Puma
=> Rails 5.0.0.rc1 application starting in development on http://localhost:3000
=> Run 'rails server -h' for more startup options
Puma starting in single mode...
* Version 3.4.0 (ruby 2.3.1-p112), codename: Owl Bowl Brawl
* Min threads: 5, Max threads: 5
* Envrionment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
  • (-) Very verbose
  • (+) Environment (x2 ?)
  • (+) Address and Port (x2 ?)
  • (-) Thread configuration (a bit strange)
  • (+) Framework version
  • (-) No project version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment