mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-09 12:00:37 -04:00
fix(docs): remove docsify tabs (#52018)
This commit is contained in:
@@ -504,11 +504,3 @@ body.close .github-corner {
|
||||
text-align: left;
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.docsify-tabs__tab:not(.docsify-tabs__tab--active) {
|
||||
color: var(--secondary-background) !important;
|
||||
}
|
||||
|
||||
.docsify-tabs__tab:not(.docsify-tabs__tab--active):hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -213,25 +213,13 @@ The default API keys and environment variables are stored in the file `sample.en
|
||||
|
||||
```console
|
||||
# Create a copy of the "sample.env" and name it ".env".
|
||||
# Populate it with the necessary API keys and secrets:
|
||||
# Populate it with the necessary API keys and secrets
|
||||
```
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **macOS/Linux**
|
||||
|
||||
```console
|
||||
cp sample.env .env
|
||||
```
|
||||
|
||||
#### **Windows**
|
||||
|
||||
```console
|
||||
copy sample.env .env
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
The keys in the `.env` file are _not_ required to be changed to run the app locally. You can leave the default values copied over from `sample.env` as-is.
|
||||
|
||||
> [!TIP]
|
||||
@@ -256,26 +244,10 @@ Before you can run the application locally, you will need to start the MongoDB s
|
||||
|
||||
Start the MongoDB server in a separate terminal:
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **macOS/Linux**
|
||||
|
||||
```console
|
||||
mongod
|
||||
```
|
||||
|
||||
#### **Windows**
|
||||
|
||||
- On Windows, you must specify the full path to the `mongod` binary
|
||||
|
||||
```console
|
||||
"C:\Program Files\MongoDB\Server\3.6\bin\mongod"
|
||||
```
|
||||
|
||||
Make sure to replace `3.6` with the version you have installed
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
> [!TIP]
|
||||
> You can avoid having to start MongoDB every time by installing it as a background service. You can [learn more about it in their documentation for your OS](https://docs.mongodb.com/manual/administration/install-community/)
|
||||
|
||||
|
||||
@@ -138,8 +138,6 @@ The default API keys and environment variables are stored in the file `sample.en
|
||||
# Populate it with the necessary API keys and secrets:
|
||||
```
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **macOS/Linux**
|
||||
|
||||
```console
|
||||
@@ -152,8 +150,6 @@ cp sample.env .env
|
||||
copy sample.env .env
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
The keys in the `.env` file are _not_ required to be changed to run the app locally. You can leave the default values copied over from `sample.env` as-is.
|
||||
|
||||
#### Step 2: Install dependencies
|
||||
@@ -387,21 +383,17 @@ Follow these steps:
|
||||
|
||||
3. Make a copy of the `.env` file:
|
||||
|
||||
<!-- tabs:start -->
|
||||
#### **macOS/Linux**
|
||||
|
||||
#### **macOS/Linux**
|
||||
```console
|
||||
cp sample.env .env
|
||||
```
|
||||
|
||||
```console
|
||||
cp sample.env .env
|
||||
```
|
||||
#### **Windows**
|
||||
|
||||
#### **Windows**
|
||||
|
||||
```console
|
||||
copy sample.env .env
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
```console
|
||||
copy sample.env .env
|
||||
```
|
||||
|
||||
4. Install the dependencies for the freeCodeCamp repo:
|
||||
|
||||
@@ -417,21 +409,16 @@ copy sample.env .env
|
||||
|
||||
6. Copy the generated JSON file to the mobile app:
|
||||
|
||||
<!-- tabs:start -->
|
||||
#### **macOS/Linux**
|
||||
|
||||
#### **macOS/Linux**
|
||||
```console
|
||||
cp ./shared/config/curriculum.json ../mobile/mobile-app/curriculum.json
|
||||
```
|
||||
|
||||
```console
|
||||
cp ./shared/config/curriculum.json ../mobile/mobile-app/curriculum.json
|
||||
```
|
||||
|
||||
#### **Windows**
|
||||
|
||||
```console
|
||||
copy .\config\curriculum.json ..\mobile\mobile-app\curriculum.json
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
#### **Windows**
|
||||
```console
|
||||
copy .\config\curriculum.json ..\mobile\mobile-app\curriculum.json
|
||||
```
|
||||
|
||||
7. Change directory to the mobile app:
|
||||
|
||||
@@ -448,7 +435,7 @@ copy .\config\curriculum.json ..\mobile\mobile-app\curriculum.json
|
||||
9. Update the test file to use the challenge data JSON file:
|
||||
|
||||
```console
|
||||
sed -i '' 's/..\/..\/config\/curriculum.json/.\/curriculum.json/g' test/widget_test.dart
|
||||
sed -i '' 's/..\/..\/config\/curriculum.json/.\/curriculum.json/g' test/widget_test.dart
|
||||
```
|
||||
|
||||
10. Generate the challenge files:
|
||||
|
||||
@@ -156,14 +156,6 @@
|
||||
tag: 'remote-markdown-url'
|
||||
},
|
||||
|
||||
tabs: {
|
||||
persist: true, // default
|
||||
sync: true, // default
|
||||
theme: 'classic', // default
|
||||
tabComments: true, // default
|
||||
tabHeadings: true // default
|
||||
},
|
||||
|
||||
plugins: [
|
||||
function (hook, vm) {
|
||||
hook.beforeEach(function (markdown) {
|
||||
@@ -262,8 +254,6 @@
|
||||
</script>
|
||||
<!-- docsify (latest v4.x.x)-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
|
||||
<!-- docsify-tabs (latest v1.x.x) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
|
||||
|
||||
<!-- Theme -->
|
||||
<!-- <script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0"></script> -->
|
||||
|
||||
@@ -51,27 +51,13 @@ git clean -ifdX
|
||||
|
||||
If you can't sign in, and instead you see a banner with an error message that it will be reported to freeCodeCamp, please double-check that your local port `3000` is not in use by a different program.
|
||||
|
||||
<!-- tabs:start -->
|
||||
|
||||
#### **macOS/Linux/WSL on Windows - From Terminal:**
|
||||
|
||||
#### **From Terminal:**
|
||||
```console
|
||||
netstat -a | grep "3000"
|
||||
|
||||
tcp4 0 0 0.0.0.0:3000 DESKTOP LISTEN
|
||||
```
|
||||
|
||||
#### **On Windows - From Elevated PowerShell:**
|
||||
|
||||
```powershell
|
||||
netstat -ab | Select-String "3000"
|
||||
|
||||
TCP 0.0.0.0:3000 DESKTOP LISTENING
|
||||
```
|
||||
|
||||
<!-- tabs:end -->
|
||||
|
||||
---
|
||||
|
||||
## Issues Signing Out while Navigating
|
||||
|
||||
|
||||
Reference in New Issue
Block a user