Skip to content
Draft
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
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module.exports = {
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
'@vue/standard',
'plugin:vuetify/base'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [17.x]
node-version: [20.x]

steps:
- run: git config --global core.autocrlf false
Expand Down
11 changes: 11 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
fixturesFolder: 'tests/e2e/fixtures',
screenshotsFolder: 'tests/e2e/screenshots',
videosFolder: 'tests/e2e/videos',
e2e: {
specPattern: 'tests/e2e/specs/**/*.cy.{js,jsx,ts,tsx}',
supportFile: 'tests/e2e/support/index.js'
}
})
3 changes: 0 additions & 3 deletions cypress.json

This file was deleted.

8 changes: 7 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ npm run lint
npm run test:e2e
```

### Run end-to-end tests headless
```
npx vue-cli-service test:e2e --headless
```

### Run your unit tests
```
npm run test:unit
Expand All @@ -45,14 +50,15 @@ npm run dist
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

### Build the Docker container
### Build the Docker container locally
```
docker build -t foxusa/storedown:$tag .
# On M1 Macs
docker build --platform linux/amd64 -t foxusa/storedown:latest -t foxusa/storedown:$version .
```

### Push container
> If you use the GitHub build all you need to do is merge to master and it will be done automatically
```
docker push --all-tags foxusa/storedown
```
3 changes: 2 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ services:
image: couchdb
restart: always
volumes:
- "<HOST_LOCATION>:/opt/couchdb/data" #TODO set this to prevent accidentally deleting your database data
- <HOST_LOCATION>:/opt/couchdb/data #TODO set this to prevent accidentally deleting your database data
- <HOST_LOCATION>:/opt/couchdb/etc/local.d # Prevents CORS setting from being removed
ports:
- "5984:5984"
environment:
Expand Down
2 changes: 1 addition & 1 deletion docs/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ StoreDown will let use the rest of that box.
The second and maybe more important is to place stuff pseudo randomly.
This creates a positive feedback loop where you have to use StoreDown to find stuff. This helps keep the data accurate.

Putting items together logically makes it easier for you to pull items without using StoreDown. This causes a negative feedback loop where the data in StoreDown becomes less acuate and less useful hence causing you to use it less.
Putting items together logically makes it easier for you to pull items without using StoreDown. This causes a negative feedback loop where the data in StoreDown becomes less accurate and less useful hence causing you to use it less.

Random placement also has an advantage that someone who is unfamiliar with an item is less likely to be confused. You are not very likely to be looking for a black USB cable in a box full of black cables if you placed them randomly.

Expand Down
Loading