You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-10Lines changed: 22 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,42 @@ MakeRPG runs using Django 2.1 and Python 3. You can install those however you l
17
17
18
18
# Getting Set Up
19
19
20
-
Getting set up can be easy too. It involves starting the MakeRPG Django server, configuring your server admin, and starting your server.
20
+
Getting set up can be easy too. It involves configuring your admin and starting the server.
21
21
22
-
## Steps
22
+
## Configuring your admin
23
23
24
24
1. Clone this repository
25
-
1. Open your Anaconda prompt by clicking the "Play" button next to your "base (root)" environment where you installed Django in the Anaconda Navigator
26
-
1. Select the "Open Terminal" option
27
-
1. Change directory with `cd` on the terminal into the path on your computer where you cloned this repository
28
-
1. Type the following:
25
+
2. Open your Anaconda prompt by clicking the "Play" button next to your "base (root)" environment where you installed Django in the Anaconda Navigator
26
+
3. Select the "Open Terminal" option
27
+
4. Change directory with `cd` on the terminal into the path on your computer where you cloned this repository
28
+
5. Type the following:
29
+
29
30
```
30
31
python manage.py createsuperuser
31
32
```
32
-
1. You will be prompted for your Django server admin username, email address, and password
33
-
1. Type the following three lines in sequence (type the line and then hit Enter):
33
+
34
+
6. You will be prompted for your Django server admin username, email address, and password
35
+
36
+
## Starting the server
37
+
38
+
Type the following three lines in sequence (type the line and then hit Enter):
39
+
34
40
```
35
41
python manage.py makemigrations
36
42
python manage.py migrate
37
43
python manage.py runserver
38
44
```
39
45
40
-
# Making Characters
46
+
# Using CharacterCreator
41
47
42
48
Now you are ready for the extra cool part, automatic character generation. It is currently achieved with a Python script called `setup.py`. You'll need to edit a few numbers in the `setup.py` script and then you'll be ready to start.
43
49
50
+
Make sure you already started your server. If you just did your setup you are fine, but if you have restarted your computer or shut down your server you will need to run the following command. In a terminal navigated to the same folder from the "Getting Set Up" section above, type:
51
+
52
+
```
53
+
python manage.py runserver
54
+
```
55
+
44
56
## The first run of `setup.py`
45
57
46
58
The first time you will need to have your YAML files ready and point the `setup.py` to the absolute paths to those files on your computer. You can make sample characters at the same time if you want, but don't have to. The important part is to only run `setup.py` once this way to initialize your database's history rolling and roles, stats, and skills.
@@ -55,7 +67,7 @@ It will print out a few messages about setting things up in your database.
55
67
56
68
## From then on
57
69
58
-
You need to open up the `setup.py` and comment out the two lines to only run once. You can choose to create any number of character by editing the `character_count` variable. Now every other time you will run `setup.py` the same way:
70
+
You need to open up the `setup.py` and comment out the two lines that are only supposed to run once. You can choose to create any number of characters by editing the `character_count` variable. Now you can run `setup.py` the same way every time you want more characters:
0 commit comments