parent
a2323321e3
commit
a891fa6a50
8 changed files with 94 additions and 2 deletions
@ -0,0 +1,19 @@ |
|||||||
|
{ |
||||||
|
"workbench.colorCustomizations": { |
||||||
|
"activityBar.activeBackground": "#ab307e", |
||||||
|
"activityBar.activeBorder": "#25320e", |
||||||
|
"activityBar.background": "#ab307e", |
||||||
|
"activityBar.foreground": "#e7e7e7", |
||||||
|
"activityBar.inactiveForeground": "#e7e7e799", |
||||||
|
"activityBarBadge.background": "#25320e", |
||||||
|
"activityBarBadge.foreground": "#e7e7e7", |
||||||
|
"statusBar.background": "#832561", |
||||||
|
"statusBar.foreground": "#e7e7e7", |
||||||
|
"statusBarItem.hoverBackground": "#ab307e", |
||||||
|
"titleBar.activeBackground": "#832561", |
||||||
|
"titleBar.activeForeground": "#e7e7e7", |
||||||
|
"titleBar.inactiveBackground": "#83256199", |
||||||
|
"titleBar.inactiveForeground": "#e7e7e799" |
||||||
|
}, |
||||||
|
"peacock.remoteColor": "#832561" |
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
version: "3.8" |
||||||
|
|
||||||
|
services: |
||||||
|
frontend: |
||||||
|
build: |
||||||
|
context: ./frontend |
||||||
|
volumes: |
||||||
|
- ./frontend/src:/usr/src/frontend/src |
||||||
|
ports: |
||||||
|
- 3000:3000 |
||||||
|
environment: |
||||||
|
CHOKIDAR_USEPOLLING: "true" |
||||||
|
command: ["npm", "run", "start"] |
||||||
|
|
||||||
|
server: |
||||||
|
build: |
||||||
|
context: ./server |
||||||
|
volumes: |
||||||
|
- ./server:/usr/src/server |
||||||
|
ports: |
||||||
|
- 8000:8000 |
||||||
|
command: ["python", "manage.py", "runserver"] |
@ -0,0 +1 @@ |
|||||||
|
node_modules |
@ -0,0 +1,19 @@ |
|||||||
|
{ |
||||||
|
"workbench.colorCustomizations": { |
||||||
|
"activityBar.activeBackground": "#1f6fd0", |
||||||
|
"activityBar.activeBorder": "#ee90bb", |
||||||
|
"activityBar.background": "#1f6fd0", |
||||||
|
"activityBar.foreground": "#e7e7e7", |
||||||
|
"activityBar.inactiveForeground": "#e7e7e799", |
||||||
|
"activityBarBadge.background": "#ee90bb", |
||||||
|
"activityBarBadge.foreground": "#15202b", |
||||||
|
"statusBar.background": "#1857a4", |
||||||
|
"statusBar.foreground": "#e7e7e7", |
||||||
|
"statusBarItem.hoverBackground": "#1f6fd0", |
||||||
|
"titleBar.activeBackground": "#1857a4", |
||||||
|
"titleBar.activeForeground": "#e7e7e7", |
||||||
|
"titleBar.inactiveBackground": "#1857a499", |
||||||
|
"titleBar.inactiveForeground": "#e7e7e799" |
||||||
|
}, |
||||||
|
"peacock.remoteColor": "#1857a4" |
||||||
|
} |
@ -0,0 +1,9 @@ |
|||||||
|
FROM node:14 |
||||||
|
|
||||||
|
WORKDIR /usr/src/frontend |
||||||
|
COPY . . |
||||||
|
|
||||||
|
RUN npm i |
||||||
|
|
||||||
|
EXPOSE 3000 |
||||||
|
|
@ -0,0 +1,9 @@ |
|||||||
|
FROM python:3 |
||||||
|
|
||||||
|
WORKDIR /usr/src/server |
||||||
|
|
||||||
|
COPY . . |
||||||
|
|
||||||
|
RUN pip install -r requirements.txt |
||||||
|
|
||||||
|
EXPOSE 8000 |
@ -0,0 +1,2 @@ |
|||||||
|
python manage.py migrate |
||||||
|
python manage.py createsuperuser --email admin@example.com --username admin |
Loading…
Reference in new issue