cmints
Bug fix
CMintS は、単一および多言語の Web サイトを作成するための CMS および静的サイト ジェネレーターです。 https://cmints.io で完全なドキュメントを参照してください。
CMintS をグローバルにインストールせずに最初のアプリを Web に展開したい場合は、クイック スタート ガイドを確認してください。
npm install -g cmints
次のコマンドを実行して、クイック スタート用のサンプル プロジェクトを生成します。
# Generates single language project
cmints --example single
# Generates multi language project
cmints --example multi
# Generates multi language project in the {PATH} directory.
cmints {PATH} --example
# Run http server serving current folder
cmints --start
# Replace optional {PATH} with the path to the folder you wish to serve.
cmints {PATH} --start
# Optional port parameter, if ommited the server will run on port 4000
cmints --start -p {PORT}
# https server: Replace {PATH} with the path to the folder you wish to serve
# Replace {PRIVATE_KEY} with the path to the private key file
# Replace {CERTIFICATE} with the path to the certiface file
cmints {PATH} --start --https -k {PRIVATE_KEY} -c {CERTIFICATE}
キャッシュを無効にするには、 --no-cache
フラグを使用します。
cmints --start --no-cache
cmints --static
# tests with page caching
npm test
# tests without page caching
npm test -- --no-cache
# Upload source files and source locales to the crowdin
cmints --crowdin update-sources --key {crowdin-key}
# Download translations from the crowdin
cmints --crowdin update-translations --key {crowdin-key}
# Upload locaes to the crowdin
cmints --crowdin get-translations --key {crowdin-key}