To start a Gramex project, run gramex init
on your terminal. You should see an output like this:
It initializes a git
repository and creates these files:
README.md
: project documentationgramex.yaml
: Gramex configurationindex.html
: default home pagelogin.html
: default login pagestyle.scss
: custom SCSS styles pagetemplate-navbar.html
: default navigation barpackage.json
: npm package file with recommended dependencies… and a set of configurations that help development.
Note: gramex init
is optional. You can create a Gramex project from scratch by just creating
an empty gramex.yaml
.
Run gramex
. This will start Gramex and show an output like this:
Open http://localhost:9988/ in your browser, and you should see the sample app.
To install the minimal files required to run Gramex, run gramex init minimal
on your terminal.
It initializes a git
repository and creates these files:
gramex.yaml
: Gramex configurationindex.html
: default home pageRun gramex
to see the output.