Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 29 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
client/node_modules
server/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
client/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

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

.eslintcache
debug.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
client/node_modules
server/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
client/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

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

.eslintcache
debug.log
.aider*
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ npm run build

3. Run the server:

Modify the server/src/.env file with your secrets `SESSION_SECRET=` and `AUTH_JWT_SECRET=` are required and can be a long-ish random string. All others are optional.

If you don't provide sendgrid API key then the emails are logged to console.

```
cd server
npm install
npm start
```

Expand All @@ -41,7 +46,13 @@ npm start
To run the Seqoio server in Docker instead of natively, simply run this:

```
docker-compose -f ./docker-compose.yml up -d --build --force-recreate
docker compose -f ./docker-compose.yml up -d --build --force-recreate
```

Afterwards run this to inspect the logs:

```
docker logs app
```

## Authentication
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"web-vitals": "^2.1.0"
},
"scripts": {
"start": "react-scripts start",
"start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
2 changes: 0 additions & 2 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:

db:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:

db:
Expand Down
24 changes: 18 additions & 6 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading