Minor README amendments
This commit is contained in:
parent
c46677bbca
commit
d17ba867af
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -95,7 +95,11 @@ There are a couple of setup steps to getting a development environment ready.
|
||||||
- As the default config. is set up for this, no configuration changes are
|
- As the default config. is set up for this, no configuration changes are
|
||||||
needed initially.
|
needed initially.
|
||||||
1. Install dependencies:
|
1. Install dependencies:
|
||||||
- `cpanm --installdeps . --with-feature=sqlite --with-feature=codepoint-open`
|
- ```shell script
|
||||||
|
cpanm --installdeps . \
|
||||||
|
--with-feature=sqlite \
|
||||||
|
--with-feature=codepoint-open
|
||||||
|
```
|
||||||
1. Install the database:
|
1. Install the database:
|
||||||
- `./script/deploy_db install -c 'dbi:SQLite:dbname=foodloop.db'`
|
- `./script/deploy_db install -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
1. Set up the development users:
|
1. Set up the development users:
|
||||||
|
@ -113,13 +117,9 @@ needed initially.
|
||||||
|
|
||||||
To upgrade the database after making changes to commit:
|
To upgrade the database after making changes to commit:
|
||||||
|
|
||||||
```
|
1. `./script/deploy_db write_ddl -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
./script/deploy_db write_ddl -c 'dbi:SQLite:dbname=foodloop.db'
|
1. `./script/deploy_db upgrade -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
./script/deploy_db upgrade -c 'dbi:SQLite:dbname=foodloop.db'
|
|
||||||
```
|
|
||||||
|
|
||||||
To redo leaderboards:
|
To redo leaderboards:
|
||||||
|
|
||||||
```
|
1. `./script/pear-local_loop recalc_leaderboards`
|
||||||
./script/pear-local_loop recalc_leaderboards
|
|
||||||
```
|
|
||||||
|
|
Reference in a new issue