unit-testing #19
15
README.md
15
README.md
@ -3,6 +3,7 @@
|
|||||||
## Table of Contents
|
## Table of Contents
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
|
- [Usage](#usage)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
@ -28,23 +29,26 @@ Python 3.10 or above
|
|||||||
```bash
|
```bash
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
5. Run unit tests:
|
5. Run tests:
|
||||||
```bash
|
```bash
|
||||||
./manage.py test
|
./manage.py test
|
||||||
```
|
```
|
||||||
5. Run migrations:
|
6. Run migrations:
|
||||||
```bash
|
```bash
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
```
|
```
|
||||||
6. Create admin user:
|
7. Create admin user:
|
||||||
```bash
|
```bash
|
||||||
./manage.py createsuperuser
|
./manage.py createsuperuser
|
||||||
```
|
```
|
||||||
7. Run server:
|
8. Run server:
|
||||||
```bash
|
```bash
|
||||||
./manage.py runserver
|
./manage.py runserver
|
||||||
```
|
```
|
||||||
* visit http://localhost:8000 for /public and
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
* Visit http://localhost:8000 for /public and
|
||||||
http://localhost:8000/admin/ to login via the superuser credentials
|
http://localhost:8000/admin/ to login via the superuser credentials
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
@ -58,3 +62,4 @@ Python 3.10 or above
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the [AGPL](https://www.gnu.org/licenses/agpl-3.0.html).
|
This project is licensed under the [AGPL](https://www.gnu.org/licenses/agpl-3.0.html).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user