|
3 | 3 | This is the code for Version 2 of Rockd's website, which replaced the large repository of flat HTML, CSS, some JS and images. |
4 | 4 | It is a collection of TS files and references to an S3 bucket holding images. |
5 | 5 |
|
6 | | -The new website also contains an uopdated version of [trips viewer](https://github.com/UW-Macrostrat/rockd-trips) that shows maps for all trips. |
| 6 | +The new website also contains an updated version of [trips viewer](https://github.com/UW-Macrostrat/rockd-trips) that shows maps for all trips. |
7 | 7 |
|
8 | 8 | ## Installation for local development |
9 | 9 |
|
10 | 10 | 1. Clone the repository |
11 | 11 | 2. Create and populate a `.env` file with the appropriate environment variables (See [ |
12 | | - `.env.example`](https://github.com/UW-Macrostrat/web/blob/main/.env.example) for more information.) |
13 | | -3. Run `make` to pull down submodules and update packages |
14 | | -4. Verify that you have access to recent versions of Node.js and the Yarn package manager ( `node >= 16.0.0` and |
| 12 | + `.env.example`](https://github.com/UW-Macrostrat/rockd-website/blob/main/.env.example) for more information.) |
| 13 | +3. Verify that you have access to recent versions of Node.js and the Yarn package manager ( `node >= 16.0.0` and |
15 | 14 | `yarn >= 4.0.0`; run `node -v` and `yarn -v` to check) |
16 | | -5. Run `yarn install` to update packages |
17 | | -6. Start the live-reloading development server with `yarn run dev`. The server will be available at |
18 | | - `http://localhost:3000` by default. |
19 | | - |
20 | | -ALTERNATIVELY |
21 | | - |
22 | | -1. Clone the repository |
23 | | -2. Pull down submodules (`git submodule update --init --recursive`) |
24 | | -3. Create and populate a `.env` file with the appropriate environment variables (See [ |
25 | | - `.env.example`](https://github.com/UW-Macrostrat/web/blob/main/.env.example) for more information.) |
26 | | -4. Verify that you have access to recent versions of Node.js and the Yarn package manager ( `node >= 16.0.0` and |
27 | | - `yarn >= 4.0.0`; run `node -v` and `yarn -v` to check) |
28 | | -5. Run `yarn install` to update packages |
29 | | -6. Start the live-reloading development server with `yarn run dev`. The server will be available at |
| 15 | +4. Run `make` (or `git submodule update --init --recursive` and `yarn install`) to pull down submodules and update packages |
| 16 | +5. Start the live-reloading development server with `yarn run dev`. The server will be available at |
30 | 17 | `http://localhost:3000` by default. |
0 commit comments