Skip to content

Development Workflow

Alexander Cobleigh edited this page Dec 1, 2016 · 6 revisions

Setup Your Development Environment

If you haven't already, read through our guide on Setting Up Your Development Environment.

Install Dependencies

# Navigate to your Rotonde directory
cd ~/path/to/Rotonde

# Make sure you have the right npm version installed or everything goes to hell
npm install -g [email protected]   

# Also make sure you install the right lerna package for the very same reason
npm install -g lerna@prerelease  

# Install the development dependencies through npm
npm install

# Run the `bootstrap` script to initialize all of the Rotonde packages
npm run bootstrap

Running a Rotonde Development Server

To run a Rotonde development server locally, you will need to run rotonde-core.

# Navigate to the `rotonde-core` package directory
cd ~/path/to/Rotonde/packages/rotonde-core

# Create the .env file if you want to avoid an annoying crash message (it's mostly harmless, but annoying)
touch .env 

# Start the development server
npm run dev

You should now have a Rotonde server running on localhost:3000.