Skip to content

Commit 82204df

Browse files
toastercupgitbook-bot
authored andcommitted
GitBook: [master] 2 pages modified
1 parent 255d6e9 commit 82204df

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

basics/deployment.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@ If you want to self-host Cortex CMS, this guide is for you. Currently, only [Man
66

77
## Configuration
88

9-
To use an automated tool to deploy the server, set this environmental variable:
10-
11-
```text
12-
CI=true
13-
```
14-
15-
This will suppress Bower's interactive request to enable insights/metrics reporting, which normally prevents the CI process from continuing.
16-
17-
Additionally, deploying the `development` environment as a non-local server will require an additional environmental variable be set:
9+
Deploying the `development` environment as a non-local server will require an additional environmental variable be set:
1810

1911
```text
2012
DEPLOYED=true

basics/setup/manual-setup.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ $ systemctl enable --now postgresql elasticsearch redis
7979
* Install Bundler and its dependencies:
8080

8181
```bash
82-
$ gem install bundler && bundle install
82+
$ gem install bundler && bin/bundle install
8383
```
8484

8585
* Install `node` dependencies using `yarn`:
8686

8787
```bash
88-
$ yarn install
88+
$ bin/yarn install
8989
```
9090

9191
## Data Provisioning
@@ -122,11 +122,10 @@ $ bin/rails cortex:rebuild_indexes
122122

123123
## Server
124124

125-
Start Cortex, Sidekiq and live rebuild of Webpack scripts via Foreman:
125+
Start Cortex, Sidekiq and live Webpack rebuild via Foreman with the `dev-server` script:
126126

127127
```bash
128-
$ gem install foreman
129-
$ foreman start -f Procfile.dev
128+
$ bin/dev-server
130129
```
131130

132131
The admin interface should now be accessible locally on port `3000`. To access Cortex as superadmin, login as `admin@cortexcms.org` with password `welcome1`.

0 commit comments

Comments
 (0)