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

Commit b037030

Browse files
author
Mateu Aguiló Bosch
committed
docs: link to installation instructions
1 parent 79ce2d7 commit b037030

1 file changed

Lines changed: 2 additions & 29 deletions

File tree

README.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,9 @@
66

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

9-
## Quick Install
9+
## Install
1010

11-
- Install [composer](https://getcomposer.org/)
12-
- Make sure you have the sqlite extension for PHP (if you're using the default install on a mac, this should already be there)
13-
`sudo apt-get install php-sqlite3`
14-
15-
```bash
16-
php -r "readfile('https://raw.githubusercontent.com/contentacms/contenta_jsonapi/8.x-1.x/installer.sh');" > contentacms.sh
17-
chmod a+x contentacms.sh
18-
./contentacms.sh
19-
```
20-
21-
- In your console will be a one-time login link to access your site.
22-
23-
Check the full installation instructions below for the commands to restart the web server and regenerate the login link. You will need to install Drush.
24-
25-
## Installation for Building Your Own Site
26-
27-
- Install [composer](https://getcomposer.org/)
28-
29-
```bash
30-
composer create-project contentacms/contenta-jsonapi-project <DESTINATION> --stability dev --no-interaction
31-
cd <DESTINATION>/web
32-
```
33-
- Install the site with either of these databases:
34-
- SQLite `../vendor/bin/drush si contenta_jsonapi --db-url=sqlite://sites/default/files/.ht.sqlite -y` or
35-
- MySQL `../vendor/bin/drush si contenta_jsonapi --db-url=mysql://root:pass@localhost:3306/dbname -y`
36-
- PostgreSQL `../vendor/bin/drush si contenta_jsonapi --db-url=pgsql://root:pass@localhost:5432/dbname -y`
37-
- Start the web server with `../vendor/bin/drush runserver`. This defaults to `127.0.0.1:8888`, you can change this by appending a new host and port, e.g. `../vendor/bin/drush runserver local.contentacms.io:8000`
38-
- Generate a one-time login link `../vendor/bin/drush user-login --uri="http://127.0.0.1:8888"`
11+
Follow the [documentation instructions](http://contentacms.org/#install) to install Contenta CMS.
3912

4013
### CURL
4114

0 commit comments

Comments
 (0)