docs(getting_started): add known bug for Qx gem at rake db setup

This commit is contained in:
Luis Castro 2019-07-29 20:40:30 +02:00
parent 7c1f78e7d6
commit da68bca689
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639

View file

@ -44,6 +44,16 @@ The last secrets you'll need are related to AWS. You can learn how to [create an
Run `rake db:setup` to run all the db tasks within one command. This will create the dbs for each environment, load the `structure.sql`, run pending migrations and will also run the seed functionality.
-------
**Known problems**
If you encounter `database doesnt exist in rake db create` after running both `rake db:setup` and `rake db:create`, you'll need to comment out the lines these lines at `pg_type_map.rb`
```
Qx.config(type_map: PG::BasicTypeMapForResults.new(ActiveRecord::Base.connection.raw_connection))
Qx.execute("SET TIME ZONE utc")
```
### How to run
You'll need 2 consoles to run the project. One for the rails env and another one to run the asset pipeline through [webpack](https://webpack.js.org) , since it's *not incorporated yet* into the rails asset pipeline.