2017-10-02 19:16:17 +00:00
|
|
|
# spejstore
|
2016-09-29 20:20:10 +00:00
|
|
|
|
|
|
|
Because there is not enough general inventory software invented here yet.
|
|
|
|
Please use Python3, for the love of `$deity`...
|
2017-10-02 19:16:17 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-05-11 15:28:29 +00:00
|
|
|
### Quick start
|
|
|
|
|
|
|
|
1. Open `docker-compose.yml` and make changes as comments indicate (TODO: Please someone make this not awful)
|
|
|
|
2. Run:
|
|
|
|
```sh
|
|
|
|
docker-compose up --build
|
|
|
|
```
|
2020-05-11 17:06:35 +00:00
|
|
|
3. Open `spejstore/urls.py` and comment out `url(r'^admin/login/.*', auth_redirect),`
|
|
|
|
4. Run `docker-compose run --rm web python manage.py createsuperuser` -- now you can dev authenticate w/o SSO
|
2020-05-11 15:28:29 +00:00
|
|
|
|
2017-10-02 19:16:17 +00:00
|
|
|
### Build & run
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker-compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
### Rebuild
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker-compose build
|
|
|
|
```
|
|
|
|
|
|
|
|
### Troubleshooting
|
|
|
|
|
|
|
|
- https://askubuntu.com/q/615394/413683
|