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| _schema-version: 2.0.0 | |
| ID: bookshop | |
| version: 1.0.0 | |
| parameters: | |
| enable-parallel-deployments: true | |
| modules: | |
| - name: bookshop-db | |
| type: hdb | |
| path: db |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Data struct { | |
| foo string | |
| bar string |
| // Enable component-scanning and auto-configuration with @SpringBootApplication Annotation | |
| // It combines @Configuration + @ComponentScan + @EnableAutoConfiguration | |
| @SpringBootApplication | |
| public class FooApplication { | |
| public static void main(String[] args) { | |
| // Bootstrap the application | |
| SpringApplication.run(FooApplication.class, args); | |
| } | |
| } |
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