Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| module AuthApp | |
| class CustomAuthentication < Devise::Strategies::Authenticatable | |
| # This check is run before +authenticate!+ is called to determine if this | |
| # authentication strategy is applicable. In this case we only try to authenticate | |
| # if the login and password are present | |
| # | |
| def valid? | |
| login && password | |
| end |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000