-
Notifications
You must be signed in to change notification settings - Fork 34
Home
Corey Peterson edited this page Oct 11, 2023
·
3 revisions
Important note: the majority of Materia's documentation is provided on our dedicated docs site. The contents of this wiki are intended to supplement the docs site and include helpful tips, troubleshooting, and resources for new-to-Materia developers and contributors.
The instructions in this wiki are applicable to Materia version 10 and later.
- Clone Materia locally (if you plan on making code changes, you should create a fork and clone it instead of cloning the ucfopen repo.)
- Ensure you have docker installed locally.
-
cd docker
in the Materia repo directory, followed by./run_first.sh
- Run
docker-compose up
. This process must be kept running when working on your local dev instance. - In a second terminal window or tab, navigate to the Materia repo directory and run
yarn install && yarn dev
- Visit
127.0.0.1
Visit the common issues for new developers page.
In Materia/docker
, run the following:
$ ./run.sh php oil r admin:new_user <username> <first> <mi> <last> <email> <password>
In Materia/docker
, run the following:
$ ./run.sh php oil r admin:give_user_role <username> <role>
Valid roles are basic_author
, support_user
, and super_user
.