forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c63b7df
commit 93fb589
Showing
10 changed files
with
83 additions
and
581 deletions.
There are no files selected for viewing
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,4 +1,3 @@ | ||
.vscode/* | ||
**/**/.env | ||
.DS_Store | ||
node_modules/**/** |
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,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta | ||
name="description" | ||
content="Web site created using create-react-app" | ||
/> | ||
<link rel="apple-touch-icon" href="/logo192.png" /> | ||
|
||
<link rel="manifest" href="/manifest.json" /> | ||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"> | ||
|
||
<title>Twenty</title> | ||
<script defer src="/static/js/bundle.js"></script></head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
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,12 +1,12 @@ | ||
FROM node:18-alpine as app | ||
FROM node:18-alpine as front | ||
|
||
RUN apk update && apk upgrade && \ | ||
apk add --no-cache bash git openssh && \ | ||
apk add libc6-compat | ||
|
||
WORKDIR /app | ||
COPY ../.. . | ||
WORKDIR /app/front | ||
COPY ../../front . | ||
|
||
RUN npm run install-dev | ||
RUN npm install | ||
|
||
CMD ["npm", "run", "start"] |
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,9 @@ | ||
FROM hasura/graphql-engine:latest as api | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y curl | ||
RUN apt-get install -y socat | ||
RUN apt-get install -y vim | ||
RUN curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | bash | ||
|
||
CMD ["sh", "-c", "graphql-engine serve"] |
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 @@ | ||
CREATE DATABASE twenty; | ||
CREATE DATABASE twenty; | ||
CREATE DATABASE hasura; |
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,12 @@ | ||
FROM node:18-alpine as server | ||
|
||
RUN apk update && apk upgrade && \ | ||
apk add --no-cache bash git openssh && \ | ||
apk add libc6-compat | ||
|
||
WORKDIR /app/server | ||
COPY ../../server . | ||
|
||
RUN npm install | ||
|
||
CMD ["npm", "run", "start"] |
Oops, something went wrong.