Skip to content

hectoroso/meteor-react-mysql-tasks

Repository files navigation

meteor-react-mysql

Testing meteor, react and mysql together using the Tasks app from the Meteor-React tutorial. The tutorial repository is here. It requires the numtel:mysql package.


Setup Meteor code

Information on installing Meteor is here. Then run the following:

git clone https://github.com/hectoroso/meteor-react-mysql-tasks.git
meteor create meteor-react-mysql-tasks
cd meteor-react-mysql-tasks/
meteor remove autopublish
meteor remove insecure
meteor add accounts-ui accounts-password
meteor add react
meteor add numtel:mysql

MySQL

Add or uncomment the following from your my.cnf (location depends on installation and platform) to ensure it's outputing a binary log. More info on setting up MySql here.

server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
  • Restart mysql.

  • Edit settings.json based on your mysql settings

  • Run tasks.sql on MySQL server

Run the following in mysql:

GRANT REPLICATION SLAVE, REPLICATION CLIENT, SELECT ON *.* TO 'root'@'%';

Startup meteor server

meteor –-settings settings.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published