Skip to content

Commit

Permalink
docs: add installing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
temarusanov committed Apr 12, 2023
1 parent 35866d9 commit 9614bec
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# NX Useful libs collection

Checkout documentation: https://temarusanov.github.io/nx/

## Installing

### Install Ansible

Check full tutorial about Ansible installing [here](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-20-04)

```bash
sudo apt-add-repository ppa:ansible/ansible
```

```bash
sudo apt update
```

```bash
sudo apt install ansible
```

If you don't have `docker` and `nvm` install then locate to `devops/ansible` and run

```bash
ansible-playbook prepare_environment.yml --ask-become-pass
```

## Run

Install dependencies

```bash
npm install
```

Use container command to create a docker image

```bash
npx nx container
```

Run full environment in docker containers

```
ansible-playbook start_app.yml --ask-become-pass
```

0 comments on commit 9614bec

Please sign in to comment.