Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,47 @@ Current recruiting sites like LinkedIn and Indeed often use candidates resumé d

Prerequisites: [Node](https://nodejs.org/en/download/) plus [Yarn](https://classic.yarnpkg.com/en/docs/install/) and [Git](https://git-scm.com/downloads)

> clone/fork 🏗 drecruit:
```bash
git clone https://github.com/moonshotcollective/drecruit.git
```

> install dependencies
```bash
cd packages/react-app
cd drecruit
yarn install
```

> add .env in `packages/react-app`
1. **Copy-paste all .env.example files into a new file called `.env`.**
2. **Go to https://web3.storage and set the value of WEB3STORAGE_TOKEN with your web3.storage API key.**

> clone/fork 🏗 drecruit:

```bash
https://github.com/moonshotcollective/drecruit.git
cd packages/react-app
cp .env.example .env
```

> install and start your 👷‍ Hardhat chain:
> start your 👷‍ Hardhat chain:

```bash
cd drecruit
yarn install
yarn ceramic
yarn chain
```

> in a second terminal window, 🛰 deploy your contract, install and run the backend:
> in a second terminal window, 🛰 deploy your contract

```bash
cd drecruit
yarn deploy --network localhost --reset
```

Copy the contract address of the deployed contract and paste it in the .env in packages/backend for the CONTRACT_ADDRESS variable
> run the backend
1. Copy-paste all .env.example files into a new file called `.env`.
2. Copy the contract address of the deployed contract (you can find it in the terminal screen output from the last step) and paste it in the .env in packages/backend for the CONTRACT_ADDRESS variable.

```bash
cd packages/backend
yarn install
cp .env.example .env
yarn dev
```

Expand Down