diff --git a/.env.example b/.env.example index 7910acf..5127b11 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ +ANA_DATABASE_DRIVER=mysql ANA_DATABASE_NAME="ana" ANA_DATABASE_USER="root" ANA_DATABASE_PASSWORD="" diff --git a/README.md b/README.md index 309f941..106dbf1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ This is nowhere near being usable, let alone stable. Please treat as a proof of For getting a development version of Ana up & running, please go through the following steps. 1. Rename `.env.example` to `.env` and set your database credentials. -1. Create or migrate the database: `export $(cat .env | xargs) && $GOPATH/bin/migrate -url mysql://$ANA_DATABASE_USER:$ANA_DATABASE_PASSWORD@$ANA_DATABSE_HOST/$ANA_DATABASE_NAME -path ./db/migrations up` 3. Compile into binary: `make` 4. Create your user account: `ana register ` 5. Run default Gulp task to build static assets: `gulp` diff --git a/dbconfig.yml b/dbconfig.yml deleted file mode 100644 index 198945b..0000000 --- a/dbconfig.yml +++ /dev/null @@ -1,4 +0,0 @@ -development: - dialect: mysql - datasource: root:root@/ana - dir: datastore/migrations