updating readme, removing proxy, quick fix
This commit is contained in:
parent
f216adb3b2
commit
617435ae18
13
README.md
13
README.md
|
@ -14,8 +14,19 @@ $ > python manage.py migrate
|
|||
$ > python manage.py createsuperuser --email admin@example.com --username admin
|
||||
$ > exit
|
||||
# You are now back in your machine bash
|
||||
$ docker-compose down && docker-compose up -d
|
||||
```
|
||||
|
||||
# Running (Docker)
|
||||
|
||||
```sh
|
||||
# Containers will all start
|
||||
$ docker-compose down && docker-compose up -d
|
||||
```
|
||||
|
||||
_backend only_
|
||||
|
||||
```sh
|
||||
$ docker-compose down && docker-compose -f docker-compose.backend.yml up -d
|
||||
```
|
||||
|
||||
# Setup (Not Docker)
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"name": "frontend",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"proxy": "http://localhost:8000",
|
||||
"dependencies": {
|
||||
"@dank-inc/data-buddy": "^0.2.0",
|
||||
"@testing-library/react": "^11.1.0",
|
||||
|
|
|
@ -15,7 +15,7 @@ export const Login = () => {
|
|||
|
||||
const handleFinish = async ({ username, password }: FormValues) => {
|
||||
try {
|
||||
const res = await appContext.post('/dj-rest-auth/login', {
|
||||
const res = await appContext.post('/dj-rest-auth/login/', {
|
||||
username,
|
||||
password,
|
||||
})
|
||||
|
|
3
package-lock.json
generated
3
package-lock.json
generated
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"lockfileVersion": 1
|
||||
}
|
Loading…
Reference in New Issue
Block a user