@@ -30,21 +30,28 @@ and [Python Tutor](http://pythontutor.com/):
3030
3131##Getting started
3232
33- 1 . Clone the repository.
34- 2 . In the` backend ` folder:
33+ Below is how to get the code running on your local machine.
34+
35+ 1 . Fork the repository, and clone your fork.
36+ 2 . If you want to run the system using Docker, which may be easier and will more closely resemble the production environment:
37+ 1 . Ensure you have docker and docker-compose installed.
38+ 2 . Create an empty file called` .env ` in the repo root.
39+ 3 . Run` docker-compose up ` .
40+ 4 . Skip the following two steps, everything should be running now.
41+ 3 . In the` backend ` folder:
35421 . Ensure the` python ` command points to Python 3.8.
36432 . Run` ./setup.sh ` . This will:
37441 . Install` poetry ` if needed.
38452 . Create a virtualenv and install Python dependencies.
39463 . Create a sqlite database, run migrations, and create a user.
40473 . Activate the virtualenv with` poetry shell ` .
41484 . Run the backend development server with` ./manage.py runserver ` .
42- 3 . In the` frontend ` folder:
49+ 4 . In the` frontend ` folder:
43501 . Ensure you have recent versions of` node ` and` npm ` .
44512 . Run` npm install ` to download dependencies.
45523 . Run` npm start ` to start the frontend development server.
46- 4 . Go tohttp://localhost:3000/accounts/login/ and login with the email "admin@example.com " and the password "admin".
47- 5 . You should be redirected tohttp://localhost:3000/course/ and see the start of the course: "Introducing The Shell".
53+ 5 . Go tohttp://localhost:3000/accounts/login/ and login with the email "admin@example.com " and the password "admin".
54+ 6 . You should be redirected tohttp://localhost:3000/course/ and see the start of the course: "Introducing The Shell".
4855
4956##Controls
5057