-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
development-instructions.md (#12): added yarn blank-state
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|