mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-15 12:14:46 +00:00
Reformat of code Allow user to use a mix of command line arguments and flags Enhance the import tool to detect missing packages in the modules side Added test cases for all commands
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
# Welcome to Revel
|
|
|
|
A high-productivity web framework for the [Go language](http://www.golang.org/).
|
|
|
|
|
|
### Start the web server:
|
|
|
|
revel run myapp
|
|
|
|
### Go to http://localhost:9000/ and you'll see:
|
|
|
|
"It works"
|
|
|
|
## Code Layout
|
|
|
|
The directory structure of a generated Revel application:
|
|
|
|
conf/ Configuration directory
|
|
app.conf Main app configuration file
|
|
routes Routes definition file
|
|
|
|
app/ App sources
|
|
init.go Interceptor registration
|
|
controllers/ App controllers go here
|
|
views/ Templates directory
|
|
|
|
messages/ Message files
|
|
|
|
public/ Public static assets
|
|
css/ CSS files
|
|
js/ Javascript files
|
|
images/ Image files
|
|
|
|
tests/ Test suites
|
|
|
|
|
|
## Help
|
|
|
|
* The [Getting Started with Revel](http://revel.github.io/tutorial/gettingstarted.html).
|
|
* The [Revel guides](http://revel.github.io/manual/index.html).
|
|
* The [Revel sample apps](http://revel.github.io/examples/index.html).
|
|
* The [API documentation](https://godoc.org/github.com/revel/revel).
|
|
|