Skip to content

Commit 0459c9c

Browse files
committed
development-instructions.md (#12): added yarn blank-state
1 parent 56cf473 commit 0459c9c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

development-instructions.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,25 @@ Extra links:
8080
## Working with Uwazi - your local fork
8181
**Important: some commands will only work on uwazi (not the docker-uwazi) folder**
8282

83+
84+
> For complete instructions about how to run Uwazi for development, see
85+
the oficial guide at <https://github.com/huridocs/uwazi#development>. This
86+
document is a quick start.
87+
8388
```bash
8489
# Clone your forked repository to a local folder
8590
git clone [email protected]:YOUR-USERNAME/uwazi.git
8691
cd uwazi
8792

8893
# Install node modules used by Uwazi.
8994
yarn install
95+
96+
# Initialize databases (Mongo and Elastic Search) with Uwazi default blank values
97+
# WARNING: if you already is using Uwazi and have Mongo and Elastic Search with
98+
# test or real data, this can potentially reset to initial state
99+
# depending of your environment variables like DATABASE_NAME and
100+
# ELASTICSEARCH_URL.
101+
yarn blank-state
90102
```
91103

92104
Now, each time you want to run, execute
@@ -103,9 +115,6 @@ yarn hot
103115

104116
![uwazi welcome screen](https://user-images.githubusercontent.com/812299/39088501-a8d3c5aa-4589-11e8-9997-bfbd64820f28.png)
105117

106-
**For complete instructions about how to run Uwazi for development, see
107-
the oficial guide at <https://github.com/huridocs/uwazi#development>**.
108-
109118
## Extra tips
110119

111120
### docker ps - See what is running

0 commit comments

Comments
 (0)