[Travis CI]: Deploy Add core settings and a init_db function.

generated from commit 1c280deb1c0fa14b2112e2083f4df7cae73be650