Skip to content

Commit

Permalink
initial public commit
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Aug 8, 2024
0 parents commit 0aa0346
Show file tree
Hide file tree
Showing 30 changed files with 10,567 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to Jamsocket

on:
push:
branches: [ main ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Deploy to Jamsocket
uses: jamsocket/[email protected]
with:
jamsocket_api_token: ${{ secrets.JAMSOCKET_TOKEN }}
jamsocket_account: ${{ secrets.JAMSOCKET_ACCOUNT }}
jamsocket_service: ${{ secrets.JAMSOCKET_SERVICE }}
docker_build_context: ./server
dockerfile_path: ./server/Dockerfile
5 changes: 5 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This codebase is forked from code licensed under the tldraw license, which can be found at:
https://github.com/tldraw/tldraw/blob/main/LICENSE.md

You may use this software in accordance with the tldraw license without additional permission
from Jamsocket.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# tldraw × Jamsocket demo

## Installing

In `client` and `server`: `npm i`

## Running locally

In `client`:

JAMSOCKET_DEV=true npm run dev

In `server`:

npx jamsocket dev
3 changes: 3 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
36 changes: 36 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
4 changes: 4 additions & 0 deletions client/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
Loading

0 comments on commit 0aa0346

Please sign in to comment.