Scaffold a production-shaped Noderyx application, configure it, and have it running locally in a few minutes.
01
Create the application
Use the published framework command without installing anything globally. The generator writes views, controllers, configuration, database folders, Docker support, and npm scripts, then installs dependencies.
TERMINAL
npx noderyx-framework new my-website
NOTE
The project name becomes the folder name, the package name, and the default APP_NAME.
02
Scaffolding options
Flags let you choose a database up front, skip installation, or point the new project at a local framework checkout.
--database=mysqlDefault. Also accepts postgres and mongo.
--no-installGenerate files only; run npm install yourself afterwards.
--localUse a file: dependency on a local framework source instead of the published package.
TERMINAL
npx noderyx-framework new shop --database=postgres
npx noderyx-framework new api --database=mongo --no-install
03
Install globally if you prefer a short command
A global installation gives you the bare noderyx command everywhere. It is optional—npx works identically and keeps versions per project.
TERMINAL
npm install -g noderyx-framework
noderyx new my-website
NOTE
Per-project versions are safer for teams: each application can sit on the framework release it was tested against.
04
Generate the application key
Sessions, signed cookies, and CSRF tokens all derive from APP_KEY. Generated projects already have one; add it manually when you clone a repository that correctly excludes .env.
TERMINAL
npx noderyx spark:key # write a new key into .env
npx noderyx spark:key --show # print one without touching any file
NOTE
In production the key is required and the app refuses to start without it. Rotating it signs everybody out, so spark:key will not overwrite an existing key without --force.
05
Configure the environment
Copy .env.example to .env and set the values your machine needs. Configuration is read once at startup by loadEnvironment() and shaped by noderyx.config.js.