usememos / dotcom Goto Github PK
View Code? Open in Web Editor NEWhttps://www.usememos.com website
Home Page: https://www.usememos.com
https://www.usememos.com website
Home Page: https://www.usememos.com
On home page the 'Live Demo' and 'Discord' buttons are not visible on the image,
The image is so clear so that the buttons seems like they are inside the image and users can't recognize that the buttons are actually clickable and are not inside the image.
way to resolve the issue:
-> this issue can be resolved if we blur the image little bit so that the button are clearly visible to the users
Hi, ๐๐ฝ
During the migration from sqlite to postgres. I always get connect: connection refused
error.
I solve this issue using depends_on:
keyword in my compose.yml
file.
Where should I explain about this in the docs?
version: '3'
services:
memos:
image: neosmemo/memos:stable
restart: always
+ depends_on:
+ - db
ports:
- "8084:5230"
environment:
- MEMOS_DRIVER=postgres
- MEMOS_DSN=user=${DB_USERNAME} password=${DB_PASSWORD} dbname=${DB_NAME} host=db sslmode=disable
db:
# https://endoflife.date/postgresql
image: postgres:16.1
restart: unless-stopped
volumes: # Don't remove permanent storage for index database files!
- "./database:/var/lib/postgresql/data/"
environment:
POSTGRES_USER: $DB_USERNAME
POSTGRES_PASSWORD: $DB_PASSWORD
POSTGRES_DB: $DB_NAME
In the docs at https://www.usememos.com/docs/install/self-hosting it is written:
- Although optional, it's advisable to back up your database:
cp -r ~/.memos/memos_prod.db ~/.memos/memos_prod.db.bak
Looking at /root/.memos
by FTP on the server there are:
The data is saved with the file memos_prod.db-wal
and not with the file memos_prod.db
.
So I assume the docs should be changed to:
- Although optional, it's advisable to back up your database:
cp -r ~/.memos/memos_prod.db-wal ~/.memos/memos_prod.db-wal.bak
Further, memos_prod.db-shm
gets updated every time a note is saved. So this file should probably be part of the backup?
-> this issue can be resolved if we blur the image little bit so that the button are clearly visible to the users
Seems like curl
example need to be update.
Also wound be nice to have some documentation published for the service api
curl
examplecurl https://demo.usememos.com/api/v1/memos -H "Accept: application/json" -H "Authorization: Bearer {YOUR_ACCESS_TOKEN}"
{"code":3, "message":"failed to build find memos with filter: rpc error: code = InvalidArgument desc = filter is required", "details":[]}
0.22.0
The guide of "Contribution to documentation" needs an update
https://www.usememos.com/docs/contribution/documentation
The path"git clone https://github.com//dotcom" seems not workable. Does it means "/docs"?
No response
Environment:
ObrStack on macOS,
Docker version 24.0.7, build afdd53b.
At the third step, which is "Set up the environment", I ran docker compose run api go install github.com/cosmtrek/air@latest
, but it showed an error message as follow:
> docker compose run api go install github.com/cosmtrek/air@latest
[+] Building 0.0s (0/0) docker:orbstack
[+] Building 0.0s (0/0) docker:orbstack
__ _ ___
/ /\ | | | |_)
/_/--\ |_| |_| \_ (devel), built with Go go1.21.3
watching .
watching api
...
...
...
watching web/src/types/utils
watching web/src/utils
building...
running...
Error: unknown command "go" for "memos"
Run 'memos --help' for usage.
panic: unknown command "go" for "memos"
goroutine 1 [running]:
main.main()
/work/main.go:13 +0x38
Also, when running docker compose run web npm install
, it prompted:
> docker compose run web npm install
[+] Building 0.0s (0/0) docker:orbstack
[+] Creating 1/0
โ Container memos-api-1 Running 0.0s
[+] Building 0.0s (0/0) docker:orbstack
npm <command>
Usage:
npm install install all the dependencies in your project
npm install <foo> add the <foo> dependency to your project
npm test run this project's tests
npm run <foo> run the script named <foo>
npm <command> -h quick help on <command>
npm -l display usage info for all commands
npm help <term> search for help on <term>
npm help npm more involved overview
All commands:
access, adduser, audit, bugs, cache, ci, completion,
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
edit, exec, explain, explore, find-dupes, fund, get, help,
help-search, hook, init, install, install-ci-test,
install-test, link, ll, login, logout, ls, org, outdated,
owner, pack, ping, pkg, prefix, profile, prune, publish,
query, rebuild, repo, restart, root, run-script, search,
set, shrinkwrap, star, stars, start, stop, team, test,
token, uninstall, unpublish, unstar, update, version, view,
whoami
Specify configs in the ini-formatted file:
/root/.npmrc
or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
[email protected] /usr/local/lib/node_modules/npm
However, it was wired that when running docker compose run web "npm install"
, the packages were installed correctly.
Hi, ๐
I would like to add a note about the dsn
.
Many had issues with database connections.
One of them comes from not escaping the symbols in dsn
such as escaping !
or @
.
Percent-encoding may be used to include symbols with special meaning in any of the URI parts, e.g., replace = with %3D.
https://www.postgresql.org/docs/11/libpq-connect.html#id-1.7.3.8.3.6
You can use something like https://www.urlencoder.org/
.
I would like make a PR for this. Where should I add this info?
Thanks for Memos ๐ฅ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.