Skip to content

Commit 081838b

Browse files
Update instructions (#244)
1 parent b190de2 commit 081838b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@ docker-compose run web bin/rails bundle install
3939
docker-compose run web bin/lint
4040
```
4141

42+
if its giving you a file not found error and you are on windows, try running these commands. They switch line endings to lf (linux) ones
43+
44+
This will reset all your code!
45+
46+
```
47+
git config --local core.autocrlf false
48+
git rm --cached -r .
49+
git reset --hard
50+
```
51+
52+
53+
4254
## i hate docker
4355

4456
weirdo, but okay, you gotta figure out how to get postgres running yourself bucko

example.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ DATABASE_URL=postgres://postgres:flavortown123@db:5432/flavortown_development
22
RAILS_ENV=development
33

44
SECRET_KEY_BASE=replaceme
5-
LOCKBOX_MASTER_KEY=replaceme # (you can use `Lockbox.generate_key` for generating one)
5+
LOCKBOX_MASTER_KEY=replaceme # (you can use `Lockbox.generate_key` for generating one) (In docker container, run rails console and then run Lockbox.generate_key to get the key)
66
MASTER_KEY=replaceme #(you can generate one with `rails secret`)
77

88
ENVIRONMENT=development

0 commit comments

Comments
 (0)