Getting Started

With Nix

The easiest way to get started with Reactivated is to use our setup script.

Think of create-react-app but for Django+React.

Requirements

Installation

Once you've installed Nix, run this command on your shell:

nix-shell -E "$(curl -L https://reactivated.io/install/)"

You'll be asked to enter a project name. That's it. Press enter and let Reactivated do its thing.

Post Installation

Just run cd <project_name>, then nix-shell and finally python manage.py runserver

With the server running, you can visit http://localhost:8000 to see Reactivated in action.

Next Steps

The project will have an example application that demonstrates some of the features in Reactivated. The home page of your local site will guide you through an enhanced version of the polls app from the Django tutorial.

If you're done checking out the example, terminate the server and run scripts/remove_example.sh.

This will remove all example code, remove the migrations, and leave you with an empty project.