@paroicms/server
TypeScript icon, indicating that this package has built-in type declarations

1.7.2 • Public • Published

@paroicms/server

This is the main package of ParoiCMS.

How to generate a new website

Run the following commands:

npx @paroicms/cli create mywebsite
cd mywebsite
npm i
npm run dev

Then, connect to your back-office: http://localhost:8080/adm . Use dev@localhost for the login and init for the password.

Here are some tips:

  • In the back-office, starts with Configuration → Site properties;
  • Read the config.json file: it is a configuration for a local environment;
  • Read the site-schema.json file: it is the schema of your website;
  • The file theme/theme.json contains the list of available sizes (in pixels) in the text editors;
  • You'll find the SCSS in theme/assets/scss/index.scss, it is compiled by the watcher in theme/assets/scss/index.css;
  • If you edit your theme with Visual Studio Code, then we suggest that you install the Liquid extension, from panoply (liquify.dev);
  • Then the templates of your website are in theme/templates/;
  • In a Liquid file (for example theme/templates/home.liquid), use our info filter to inspect the content of a payload:
{{ site | info }}
{{ page | info }}

Documentation

Contribute

Please start with the instructions in our monorepo.

License

Released under the MIT license.

Package Sidebar

Install

npm i @paroicms/server

Weekly Downloads

334

Version

1.7.2

License

MIT

Unpacked Size

1.1 MB

Total Files

609

Last publish

Collaborators

  • rickfaf
  • paleo