|
3 | 3 | ## System Setup |
4 | 4 | ### Requirements |
5 | 5 | - Python 3: [3.10.6 reccomended](https://www.python.org/downloads/release/python-3106/) |
6 | | -- [PyEnv](https://github.com/pyenv/pyenv) (optional but recommended fro Mac/Linux) |
| 6 | +- [PyEnv](https://github.com/pyenv/pyenv) (optional but recommended for Mac/Linux) |
7 | 7 |
|
8 | 8 | ## Clone the repository |
9 | 9 | ``` |
@@ -38,7 +38,7 @@ source env/bin/activate |
38 | 38 | python -m pip install -r requirements.txt |
39 | 39 | ``` |
40 | 40 |
|
41 | | -*If you are using `pyenv` and you’re in the virtual environment you created using just `python` points to python3.10.6* |
| 41 | +*If you are using `pyenv` and you’re in the virtual environment you created using just `python` points to python3.10.6* |
42 | 42 |
|
43 | 43 | ### For Windows: |
44 | 44 | ``` |
@@ -77,7 +77,7 @@ Fromt the project root: |
77 | 77 | cp admin_only/local_deployment.secrets .secrets |
78 | 78 | ``` |
79 | 79 |
|
80 | | -## Set up the databse |
| 80 | +## Set up the database |
81 | 81 | Both options will give you a working BCO DB with a couple of test users, existing BCOs, and some prefixes. |
82 | 82 |
|
83 | 83 | The details for the test data is included in the |
@@ -108,14 +108,14 @@ Start the Django server. |
108 | 108 | python3 manage.py runserver |
109 | 109 | ``` |
110 | 110 |
|
111 | | -The BCO DB is designed to run on the default django port `8000`. If you want to use another port you can specify that option at the end of the command: `python3 manage.py runserver 8181` |
| 111 | +The BCO DB is designed to run on the default Django port `8000`. If you want to use another port you can specify that option at the end of the command: `python3 manage.py runserver 8181` |
112 | 112 |
|
113 | | -Make sure API is accessible via web browser. If it worked you should be able to see the Django Admin site at: |
| 113 | +Make sure API is accessible via web browser. If it worked, you should be able to see the Django Admin site at: |
114 | 114 | ``` |
115 | 115 | http://localhost:8000/api/admin/ |
116 | 116 | ``` |
117 | | -If it worked you should be able to Log in with the superuser credentials you created or imported |
| 117 | +You should be able to log in with the superuser credentials you created or imported |
118 | 118 |
|
119 | | -If you copied over the existing dbs you should be able to use any of the tokens[KEYs] listed in the [authtoken_token.tsv](/admin_only/test_database_tables/authtoken_token.tsv) table to submit requests via the [Swagger page](http://localhost:8000/api/docs/) |
| 119 | +If you copied over the existing databases you should be able to use any of the tokens[KEYs] listed in the [authtoken_token.tsv](/admin_only/test_database_tables/authtoken_token.tsv) table to submit requests via the [Swagger page](http://localhost:8000/api/docs/) |
120 | 120 |
|
121 | | -Otherwise you will have to create a new user. #TODO: Add to FAQs |
| 121 | +Otherwise you will have to create a new user. #TODO: Add to FAQs |
0 commit comments