Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit b708b9c

Browse files
author
Mateu Aguiló Bosch
committed
fix: minor fixes in the installer
1 parent ca4c37d commit b708b9c

3 files changed

Lines changed: 103 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Contenta
1+
<h1 id="contenta-cms">Contenta CMS <img src="/contentacms/contentajs/raw/master/logo.svg?sanitize=true" alt="Contenta logo" title="Contenta logo" style="max-width:100%;" width="100" align="right"></h1>
2+
23

34
Contenta is a content API and CMS based on Drupal 8. It provides a standard, jsonapi-based platform for building decoupled applications and websites.
45

installer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ if echo "$install_path" ;then
2222
echo "The Quick Install uses SQLite to install Contenta CMS. This is not suited for production sites."
2323
# Set the .env data.
2424
ACCOUNT_PASS="$(LC_ALL=C tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 13)"
25-
echo -e "SQLITE_PATH=tmp\nSQLITE_DATABASE=site.sqlite\nSITE_MAIL=admin@localhost\nACCOUNT_MAIL=admin@localhost\nSITE_NAME='Contenta CMS Demo'\nACCOUNT_NAME=admin\nACCOUNT_PASS=$ACCOUNT_PASS\n" > $install_path/.env
26-
echo -e "ACCOUNT_PASS=$ACCOUNT_PASS\n" >> $install_path/.env.local
25+
echo -e "SQLITE_PATH=tmp\nSQLITE_DATABASE=site.sqlite\nSITE_MAIL=admin@localhost\nACCOUNT_MAIL=admin@localhost\nSITE_NAME='Contenta CMS Demo'\nACCOUNT_NAME=admin\nACCOUNT_PASS=$ACCOUNT_PASS" >> $install_path/.env
26+
echo -e "ACCOUNT_PASS=$ACCOUNT_PASS" >> $install_path/.env.local
2727
# Install using SQLite.
2828
composer run-script install:with-sqlite $install_path --timeout=0 --working-dir $install_path
2929

3030
# Start the built-in PHP server.
31-
$DRUSH runserver --default-server=builtin 127.0.0.1:8888
3231
$DRUSH user-login --no-browser --uri="http://127.0.0.1:8888"
32+
$DRUSH runserver 127.0.0.1:8888
3333
cd $original_wd
3434
else
3535
echo -e "\nBye!"

0 commit comments

Comments
 (0)