0.0.35 • Published 10 years ago
silex v0.0.35
Silex
The Node (or io.js =) framework based on the Symfony 2. The project is still in development, you can use but with risk of bugs.
Install
$ npm install -g silex
Use CLI in a project
$ silex
(i) This console is NOT connected to Silex project
Usage: silex [options] [command]
Commands:
project:create [options] <name> [dir] Create basic files and installs the framework (see project:install)
project:install [dir] Installs the framework (Dependencies and Nmespace)
Options:
-h, --help output usage information
Use CLI outside of a project
Lanch project :
$ node index.js
_____ _ _ _ _____
/ ____(_) | | |/ ____|
| (___ _| | _____ __ | | (___
\___ \| | |/ _ \ \/ / | |\___ \
____) | | | __/> < |__| |____) | v0.0.x
|_____/|_|_|\___/_/\_\____/|_____/ development
Kernel: Bundle "SilexFrameworkBundle" loaded
Kernel: Bundle "SilexSequelizeBundle" loaded
Kernel: Bundle "SilexHttpServerBundle" loaded
Kernel: Bundle "SilexSwigBundle" loaded
Kernel: Bundle "SilexUtilitiesBundle" loaded
Kernel: Bundle "SilexHttpStaticBundle" loaded
Kernel: Bundle "SilexMailerBundle" loaded
Kernel: Bundle "SilexFacebookBundle" loaded
...
To change the environment (check file "app/config/environments.json") :
$ node index.js -e testing
$ node index.js -e production
...
Otherwise, create an environment variable "NODE_ENV".
Lanch console :
$ silex
(i) This console is connected to Silex project "test-silex"
Usage: silex [options] [command]
Commands:
project:install [dir] Installs the framework (Dependencies and Nmespace)
sequelize:generate:models [options] [dir] Create the models files from the database
sequelize:migrate:status [dir] Show list of migrations
sequelize:migrate:up [dir] Runs migration files
sequelize:migrate:undo [dir] Revert the last migration run
Options:
-h, --help output usage information
0.0.35
10 years ago
0.0.34
10 years ago
0.0.33
10 years ago
0.0.32
10 years ago
0.0.31
10 years ago
0.0.30
10 years ago
0.0.29
10 years ago
0.0.28
10 years ago
0.0.27
10 years ago
0.0.26
10 years ago
0.0.24
10 years ago
0.0.23
10 years ago
0.0.22
10 years ago
0.0.21
10 years ago
0.0.20
10 years ago
0.0.19
10 years ago
0.0.18
10 years ago
0.0.17
10 years ago
0.0.16
10 years ago
0.0.15
10 years ago
0.0.14
10 years ago
0.0.13
10 years ago
0.0.12
10 years ago
0.0.11
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago
0.0.0
11 years ago