|
2 | 2 |
|
3 | 3 | Voxxrin is your mobile conference companion. |
4 | 4 |
|
| 5 | +## Project bootstrap |
| 6 | + |
| 7 | +Run `npm run bootstrap` (from root folder) once for all to install every required npm dependencies and initialize your local firebase emulator environment. |
| 8 | + |
| 9 | +Then, to start both the backend (firebase emulator) and the frontend, simply run `npm run dev` from root folder. |
| 10 | + |
| 11 | +On started, you should be able to open http://localhost:5173/ to access your local voxxrin instance. |
| 12 | + |
| 13 | +## First crawler configuration |
| 14 | + |
| 15 | +Open your firestore instance (you can access it locally through http://localhost:4000/firestore/default/data) then : |
| 16 | +- create a new root document (`Start collection` button) with: |
| 17 | + - collection id: `crawlers` |
| 18 | + - document id: `sample-event` |
| 19 | + - following fields: |
| 20 | + |
| 21 | +| name | type | value | |
| 22 | +|------|------|--------| |
| 23 | +| descriptorUrl | string | `https://gist.github.com/fcamblor/6be34b50207d15f4d6202dfab780e409/raw/11661fb229ee4e0156908e2ca06d8a0c4f912619/videbays2025.json` | |
| 24 | +| eventFamily | string | `samples` | |
| 25 | +| eventId | string | `sample-event` | |
| 26 | +| eventName | string | `sample-event` | |
| 27 | +| kind | string | `single-file` | |
| 28 | + |
| 29 | +- create another root document (`Start collection` button) with: |
| 30 | + - collection id: `public-tokens` |
| 31 | + - document id: `familyOrganizer:samples:ffffffff-ffff-ffff-ffff-ffffffffffff` |
| 32 | + - following fields: |
| 33 | + |
| 34 | +| name | type | value | |
| 35 | +|------|------|--------| |
| 36 | +| eventFamilies | array of strings | `["samples"]` | |
| 37 | +| type | string | `FamilyOrganizerToken` | |
| 38 | + |
| 39 | +- Once done, trigger a crawling for this new event using following curl command: |
| 40 | +``` |
| 41 | +curl --request POST --url 'http://localhost:5001/voxxrin-v3/us-central1/api/crawlers/sample-event/refreshScheduleRequest?token=familyOrganizer%3Asamples%3Affffffff-ffff-ffff-ffff-ffffffffffff' |
| 42 | +``` |
| 43 | + |
| 44 | +You should get a successful execution summary, and should be able to see *a new event* popping on your local voxxrin instance's `Past Events` tab. |
| 45 | + |
5 | 46 | ## Project structure |
6 | 47 |
|
7 | | -Voxxrin is a mobile app developed using ionic / capacitor + vue, wth a serverless backend relying on several Firebase services (auth, firestore, cloud functions). |
| 48 | +Voxxrin is a mobile app developed using ionic / capacitor + vue, with a serverless backend relying on several Firebase services (auth, firestore, cloud functions). |
8 | 49 |
|
9 | 50 | The mobile app is located in the `mobile` directory, and serverless firebase code is located in the `cloud` directory. |
10 | 51 |
|
11 | 52 | Each of these directories have their own `README.md` describing how to set them up. |
12 | 53 |
|
13 | 54 | ## Tour of the features |
14 | 55 |
|
15 | | -_To be added (once we have all the screens implemented)_ |
| 56 | +Look at [Feature showcase](https://github.com/voxxrin/voxxrin3/wiki/Voxxrin-3-features-showcase) to have an overview of currently-implemented Voxxrin features. |
16 | 57 |
|
17 | 58 | ## How to add your own conference to the list ? |
18 | 59 |
|
19 | | -_To be detailed_ |
| 60 | +Voxxrin is currently in a closed beta mode. |
| 61 | + |
| 62 | +However, if you are interested into adding your conference to the list, drop us an email at `contact` at `voxxr.in`, describing where we can retrieve your schedule (API ? Website ?). |
| 63 | + |
| 64 | +We will try to get back to you as soon as possible. |
0 commit comments