Skip to content

shiba-hiro/note-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

note-mysql

note-mysql is a sample database to try note-api.

Example of note-api

note-api-by-crystal

Requirements

Vagrant

Quick start

Execute below command, then virtual machine starts and install mysql, create table.

$ git clone https://github.com/shiba-hiro/note-mysql.git
$ cd note-mysql
$ vagrant up

If Docker is available, below command will work instead of vagrant.

$ git clone https://github.com/shiba-hiro/note-mysql.git
$ cd note-mysql
$ sudo docker run -dt -p 3306:3306 -v $PWD/data/init.sql:/docker-entrypoint-initdb.d/init.sql -e MYSQL_ALLOW_EMPTY_PASSWORD=yes --name note-mysql mysql

About

note-mysql is a sample database to try note-api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published