-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Shift to Svelte and DRF * Changed the tests to make it correct, and update README * Updated README file * Added some more components * Removed Django static assets * Fixed some URLs * Added file mounts for code and updated README * Fix issues with development workflow * Fix some more issues * Add Storybook * Configure storybook to work with tailwind * Fixed some issues with storybook * Run pre-commit on all files Signed-off-by: Nishant Nayak <nishantnayak2001@gmail.com> * Update the base_url for Django for ease of development Signed-off-by: Nishant Nayak <nishantnayak2001@gmail.com> * Update README.md Signed-off-by: Nishant Nayak <nishantnayak2001@gmail.com> --------- Signed-off-by: Nishant Nayak <nishantnayak2001@gmail.com> Co-authored-by: Nishant Nayak <nishantnayak2001@gmail.com>
- Loading branch information
1 parent
e8d8c49
commit 05a9f07
Showing
55 changed files
with
16,198 additions
and
164 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
python 3.11.1 | ||
nodejs 18.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
FROM python:3.11.1-alpine3.17 | ||
FROM python:3.11.1-slim-buster | ||
|
||
WORKDIR /usr/src/app | ||
RUN mkdir /corpus | ||
WORKDIR /corpus | ||
|
||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
RUN apk add --no-cache mariadb-connector-c-dev g++ make bash | ||
COPY requirements.txt . | ||
COPY start.sh . | ||
RUN apt update && apt install -y gcc libpq-dev | ||
|
||
COPY requirements.txt . | ||
RUN pip install --upgrade pip | ||
RUN pip install -r requirements.txt | ||
|
||
COPY . . | ||
RUN chmod +x ./start.sh | ||
CMD [ "/usr/src/app/start.sh" ] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from django.urls import include | ||
from django.urls import path | ||
|
||
# DO NOT EDIT! | ||
# This file is used for convenience since nginx routes all requests | ||
# to the /api/ endpoint. | ||
urlpatterns = [path("api/", include("corpus.urls"))] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM python:3.11.1-slim-buster | ||
|
||
RUN mkdir /corpus | ||
WORKDIR /corpus | ||
|
||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
RUN apt update && apt install -y gcc libpq-dev | ||
|
||
COPY requirements.txt . | ||
RUN pip install --upgrade pip | ||
RUN pip install -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.