@paroicms/server
v1.60.2
Published
The ParoiCMS server
Downloads
1,347
Readme
@paroicms/server
This is the main package of ParoiCMS. ParoiCMS is a full-featured CMS for building showcase websites. It includes: custom content, a robust cache system, a plugin architecture, multilingual websites (currently in English and French), and it is multi-sites.
See also: https://www.paroicms.org/
How to generate a new website
Run the following commands:
npx @paroicms/cli --create mywebsite --language en
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.
Tips
Here are some tips:
- In the back-office, starts with Configuration → Site properties;
- Read the
config.json
file: it is the configuration (by default for a local environment); - Read the
site-schema.json
file: the custom content of your website is defined here; - 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 intheme/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);
- HTML templates of your website are in
theme/templates/
; - In a LiquidJS file (for example
theme/templates/home.liquid
), use ourinfo
filter to inspect the content of any payload:
{{ site | info }}
{{ doc | info }}
Technologies
Themes for ParoiCMS are written in LiquidJS (the syntax from Shopify). Data is stored in SQLite databases.
Documentation
Contribute
Please start with the instructions in our monorepo.
License
Released under the MIT license.