Skip to content

Commit

Permalink
development-instructions.md (#12): added yarn blank-state
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Apr 25, 2018
1 parent 56cf473 commit 0459c9c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions development-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,25 @@ Extra links:
## Working with Uwazi - your local fork
**Important: some commands will only work on uwazi (not the docker-uwazi) folder**


> For complete instructions about how to run Uwazi for development, see
the oficial guide at <https://github.com/huridocs/uwazi#development>. This
document is a quick start.

```bash
# Clone your forked repository to a local folder
git clone [email protected]:YOUR-USERNAME/uwazi.git
cd uwazi

# Install node modules used by Uwazi.
yarn install

# Initialize databases (Mongo and Elastic Search) with Uwazi default blank values
# WARNING: if you already is using Uwazi and have Mongo and Elastic Search with
# test or real data, this can potentially reset to initial state
# depending of your environment variables like DATABASE_NAME and
# ELASTICSEARCH_URL.
yarn blank-state
```

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

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

**For complete instructions about how to run Uwazi for development, see
the oficial guide at <https://github.com/huridocs/uwazi#development>**.

## Extra tips

### docker ps - See what is running
Expand Down

0 comments on commit 0459c9c

Please sign in to comment.