Skip to content

Commit 4e1b454

Browse files
Remove duplicate paragraphs in readme. (cosmos#1422)
1 parent a48ad5c commit 4e1b454

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

TECHNICAL-SETUP.md

-39
Original file line numberDiff line numberDiff line change
@@ -199,45 +199,6 @@ This repository contains the content for two different deployments at once:
199199

200200
### Working with Platform Variants
201201

202-
The content for both platforms lives on the `master` branch. When building the project (`npm run build` and `npm run serve`), you are building the main platform. The IDA platform uses the same base files, but then adds additional changes on top of them (mostly different landing pages, menu adjustments, and small differences on a few content pages).
203-
204-
In general, there are three types of files:
205-
206-
* Files only used on one platform.
207-
* Files used on both platforms, with the same content.
208-
* Files used on both platforms with **different content**. This includes config files (`.vuepress/config.js`)
209-
210-
The first two types of files do not require any special treatment. Only the last type - files used on both platforms which contain different content - requires you to undertake particular steps
211-
212-
### IDA platform
213-
214-
There is a separate folder for files with different content for the IDA platform in the repository root, named `ida-customizations`. When building the IDA platform, the content of this folder is copied into the main folder, overwriting the main platform files. For example, the file `/academy/whats-next/index.md` (main platform) has an IDA variation in `/ida-customizations/academy/whats-next/index.md`. When building the IDA platform, the original file will be overwritten with the IDA file version before building. Similarly, there is an IDA specific config in `/ida-customizations/.vuepress/config.js`
215-
216-
**To disable versions (feature/ui selection) when building the IDA platform**, empty the versions.txt file.
217-
218-
### Switching variants
219-
220-
There are two helper scripts available to switch between the main platform and the IDA platform variants.
221-
222-
* Use `npm run switch-ida` to change your local filesystem to the IDA platform variant (copy in the IDA files).
223-
* Use `npm run switch-main` to switch back to the main platform variant (this moves your changes into the `ida-customizations` folder).
224-
225-
**NOTE: Your working directory must be clean before switching to the IDA files**.
226-
227-
When you switch back to the main variant, changes will be moved into the `ida-customizations` folder, and the original files are restored. The script uses `git stash` to restore the main files, so in case of an inadvertent switch (or any error) you can restore your original changes (see `git stash list` and `git stash pop`). Note however that any **changes in the `ida-customizations` folder will be overwritten** by this script!
228-
229-
### Workflows
230-
231-
To work on the IDA platform files, starting from a clean `master`:
232-
This repository contains the content for two different deployments at once:
233-
234-
* The main platform, deployed to [tutorials.cosmos.network](https://tutorials.cosmos.network).
235-
* The Interchain Developer Academy platform (IDA) [ida.interchain.io](http://ida.interchain.io/).
236-
237-
Furthermore, the platform features different _versions_ of the content to be deployed in one platform.
238-
239-
### Working with Platform Variants
240-
241202
The content for both platforms lives on the `master` branch. When building the project (`npm run build` and `npm run serve`), you are building the main platform. The IDA platform uses the same base files, but then adds additional changes on top of them (mostly different landingpages, menu adjustments, and small differences on a few content pages).
242203

243204
In general, there are three types of files:

0 commit comments

Comments
 (0)