2022-12-05 15:22:45 +00:00
|
|
|
# icns-frontend
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-05 15:22:45 +00:00
|
|
|
## Development
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-05 15:22:45 +00:00
|
|
|
Add an .env file and fill the following variables or manually add them in your terminal.
|
2022-11-30 08:11:45 +00:00
|
|
|
|
|
|
|
```
|
2022-12-05 15:22:45 +00:00
|
|
|
TWITTER_CLIENT_ID=...
|
|
|
|
TWITTER_CLIENT_SECRET=...
|
|
|
|
TWITTER_AUTH_STATE=...
|
|
|
|
TWITTER_AUTH_CALLBACK_URI=...
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-05 15:22:45 +00:00
|
|
|
IRON_PASSWORD=...
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-12 06:33:39 +00:00
|
|
|
# must be separated by commas
|
|
|
|
ICNS_VERIFIER_ORIGIN_LIST=http:localhost:8080,http://localhost:8081
|
2022-12-05 15:22:45 +00:00
|
|
|
```
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-05 15:22:45 +00:00
|
|
|
Run the development server:
|
2022-11-30 08:11:45 +00:00
|
|
|
|
2022-12-05 15:22:45 +00:00
|
|
|
```bash
|
2022-12-07 09:31:04 +00:00
|
|
|
yarn install
|
2022-12-05 15:22:45 +00:00
|
|
|
yarn dev
|
|
|
|
```
|