Skip to content

Commit e10f305

Browse files
committed
resolves issue#3
1 parent 4ef1d23 commit e10f305

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd rails_tailwind
1010
rails db:create
1111
```
1212

13-
This will create a new Rails project for you with webpack and postgres configured for you and create our databases. We will not use coffeescript, which is why we add the `--skip-coffee` flag. You can also ommit the `-d postgresql` flag if you like, but if you want to deploy to something like Heroku, I would recommend adding it.
13+
This will create a new Rails project for you with webpack and Postgres configured for you and create our databases. We will not use coffeescript, which is why we add the `--skip-coffee` flag. You can also ommit the `-d postgresql` flag if you like, but if you want to deploy to something like Heroku, I would recommend adding it. If you keep the Postgres flag, make sure you have Postgres install and it is running. You can install Postgres on macOS by running `brew install postgresql && brew services start postgresql`
1414

1515
## Running Rails and Webpack
1616

@@ -70,8 +70,7 @@ _Note: At the time of writing this, TailwindCSS v1.0 is still in beta so we will
7070
Run the following commands in your terminal:
7171

7272
```sh
73-
yarn add tailwindcss@next --dev
74-
./node_modules/.bin/tailwind init
73+
yarn add tailwindcss@next --dev && ./node_modules/.bin/tailwind init
7574
```
7675

7776
This should add Tailwind to your `package.json` as well as create a `tailwind.config.js` file at the root of your project. This file can be used to customize the tailwind defaults. Read more [here](https://next.tailwindcss.com/docs/configuration)

0 commit comments

Comments
 (0)