cortex-starter
Preparationcortex
itself is only a Rails Engine, it needs to be mounted within a parent Rails applicaton. cortex-starter serves as a starting point for new users, with cortex
and cortex-plugins-core
already mounted and configured with several example ContentTypes
/Decorators
. Start by cloning the repository:.env.example
file as .env
and modify it to match your environment.$ bin/rails secret
twice to generate both an APP_SECRET
and DEVISE_SECRET
DATABASE_USERNAME
and DATABASE_PASSWORD
should be set accordingly.readline
Ruby/byebug
build dependency) using Homebrew from the Brewfile
via $ brew install $(cat Brewfile|grep -v "#")
brew services
:launchctl
:readline
Ruby/byebug
build dependency) using your distribution's package manager (pacman
, apt-get
, yum
, etc). For example, with Ubuntu's apt-get
:elasticsearch
package - you must use Elasticsearch's repositories for APT or RPM or follow these manual instructions. The same goes for phantomjs
. Build from source or use a PPA. Additionally, yarn
will need its repository added for these distributions. Follow these instructions. Other Linux distributions likely have these as prebuilt packages in their official or user repositories.systemd
's frontend, systemctl
:node
dependencies using yarn
:cortex-starter
ships with an automated setup script. Execute this in lieu of the Manual Setup steps below, if you're comfortable doing so:dev-server
script:http://localhost:3000
. To access Cortex as superadmin, login as [email protected]
with password welcome1
.