hqasmei / site-muse

An open-source tool for developers and designers to manage bookmarks and streamline research and inspiration.
https://sitemuse.co
GNU General Public License v3.0
43 stars 5 forks source link

Dockerised app #1

Closed mbeps closed 1 year ago

mbeps commented 1 year ago

The main part is the database. You can use Docker to start a MySQL database locally when developing to prevent any mistakes on the production PlanetScale database. I also added the default database URI on the env.example file so since the development credentials are the same.

Bellow is a video demoing how the database works:

Docker Demo.webm

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @hqasmei on Vercel.

@hqasmei first needs to authorize it.

hqasmei commented 1 year ago

Cool, how did you get the Connect to server to pop up?

mbeps commented 1 year ago

There is an extension called Database Client where you can input the database credentials. These credentials can be found in the Docker Compose file. You just have to copy those and input them. These are the default values:

MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test
MYSQL_USER: user
MYSQL_PASSWORD: password

You can use this extension to connect to any database even if they are remote like Planetscale.