|
1 |
| -# QueerJS |
| 1 | +# React Ladies |
2 | 2 |
|
3 | 3 | ## Getting Started
|
4 | 4 |
|
5 |
| -To run this site locally, |
| 5 | +To run this site locally you will need to configure an AIRTABLE_KEY (user-level access to your Airtable account), |
| 6 | +AIRTABLE_BASE (spreadsheet level access to an Airtable base) and AIRTABLE_TABLE (table level access within an Airtable base). |
6 | 7 |
|
7 |
| -1. Create a file in the project root called `.env.production` with the contents `GATSBY_AIRTABLE_KEY=somekey`. `somekey` needs to be a valid AirTable API key; if you're part of QueerJS and need the real API key, ask another organizer to give it to you. |
| 8 | +1. Create a file in the project root called `.env.production` with the contents `AIRTABLE_KEY=somekey`. `somekey` needs to be a valid AirTable API key; if you're part of React Ldies and need the real API key, ask another organizer to give it to you. |
| 9 | + |
| 10 | +2. add `AIRTABLE_BASE=somebase`. `somebase` needs to be a valid Airtable Base ID. |
8 | 11 |
|
9 |
| -2. Run the following in terminal: |
| 12 | +3. add `AIRTABLE_TABLE=tablename`. `tablename` needs to be a valid Airtable Table ID. |
| 13 | + |
| 14 | +3. Run the following in terminal: |
| 15 | +To install the `netlify-cli` in order to be able to run the registration function locally. |
10 | 16 |
|
11 | 17 | ```sh
|
| 18 | +npm install -g netlify-cli |
12 | 19 | npm i
|
13 |
| -npm run dev |
| 20 | +npm run start |
14 | 21 | ```
|
15 | 22 |
|
16 | 23 | or
|
17 | 24 |
|
18 | 25 | ```sh
|
| 26 | +yarn add -g netlify-cli |
19 | 27 | yarn install
|
20 |
| -yarn run dev |
| 28 | +yarn start |
21 | 29 | ```
|
22 | 30 |
|
23 |
| -3. Navigate to `http://localhost:8000`. |
| 31 | +1. Navigate to `http://localhost:8888`. |
| 32 | + |
| 33 | +If you'd like to run the site without setting up Netlify functions locally then you can run `yarn dev` or `npm run dev` instead of `start` and then navigate to the site at `http://localhost:8000`. |
24 | 34 |
|
25 |
| -## Adding a New Meetup City |
26 | 35 |
|
27 |
| -- Go to data and make a new YAML file for your city |
| 36 | +## Adding a New Event |
| 37 | + |
| 38 | +- Go to data and make a new YAML file for your location |
28 | 39 | - Website to make google calendar links: https://decomaan.github.io/google-calendar-link-generator/
|
29 | 40 |
|
30 |
| -If you discover any bugs in this site, please [file an issue](https://github.com/queerjs/website/issues/new). |
| 41 | +If you discover any bugs in this site, please [file an issue](https://github.com/react-ladies/website/issues/new). |
| 42 | + |
| 43 | +This website was originally based off of a fork of -> https://github.com/queerjs/website. |
31 | 44 |
|
32 | 45 | Thank you ✨
|
0 commit comments