Reactium
  • Quick Start
  • Discuss
  • Approach
    • Architecture
    • DDD Introduction
    • Domain Model
  • Reactium App Foundation
    • Reactium Guides
      • Creating a Simple Single Page Web App (SPA)
      • Creating a Sassy Style Sheet
      • Reactium Core
      • Reactium + Actinium (APIs)
      • Reactium + REST
      • Plugin Module Guide
      • Animating React Routes
      • Reactium in Production
    • Reactium Domain Model
      • Basic Domain Model
      • Runtime Domain Model
      • Buildtime Domain Model
    • Reactium SDK
      • Reactium SDK Reference
    • Updating Reactium
  • Installing Foundations
    • Before You Install
    • Install Reactium
    • Install Actinium
  • Reactium API Foundation (Actinium)
    • Actinium Core
    • Setting up your User
    • Actinium SDK
      • Actinium SDK Reference
    • Actinium Domain Model
    • Extending
    • Updating
    • Live Query
  • Reactium Toolkit
    • Overview
    • Installation
    • Configuration
    • Customization
    • Creating Elements
      • Sidebar Elements
      • Toolbar Elements
      • Documentation Elements
    • Components
      • Sidebar
      • MenuLink
      • Element
      • Code
      • Markdown
      • Icon
    • Toolkit SDK
Powered by GitBook
On this page
  • TL;DR
  • Install Locally
  • Step 1: Set Current Working Directory
  • Step 2: Install Reactium CLI (Optional)
  • Step 3: Install Reactium
  • Step 4: Run Locally
  1. Installing Foundations

Install Reactium

PreviousBefore You InstallNextInstall Actinium

Last updated 2 years ago

TL;DR

cd /your/reactium/project
npx reactium init # Select Reactium when prompted
npm run local

Under most circumstances, Reactium is pretty easy to install and takes less than 5 minutes. Most hosting providers require no install at all.

Install Locally

If you haven't done so already, be sure to read the article

Step 1: Set Current Working Directory

Reactium CLI relies on your project directory to give it context:

cd /your/reactium/project

Step 2: Install Reactium CLI (Optional)

Fire up terminal or command-line and install the :

npm install -g reactium # alternative to using npx all the time

Step 3: Install Reactium

reactium init
[ARCLI] > Initialize what type of project?:  (Use arrow keys)
❯ Reactium (Web Application) 
  Actinium (Web API)
Preparing to initialize Reactium...

[ARCLI] > Initialize Reactium here?:  (y/N) y
$ npm install 

Step 4: Run Locally

$ npm run local

Done!

After the build completes, your default browser will launch with the Welcome component loaded on the / route.

Before You Install
Atomic Reactor CLI
Webpack