8000 Merge pull request #14 from flexbox/feat/update-setup · flexbox/github-bootcamp@8975c4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8975c4a

Browse files
authored
Merge pull request #14 from flexbox/feat/update-setup
ohmyzsh
2 parents e56b535 + afb4b2e commit 8975c4a

File tree

2 files changed

+39
-35
lines changed

2 files changed

+39
-35
lines changed

challenges/101/01.md

Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,31 @@ git config -l
3434

3535
We are goint to create slides for your next talk with [`spectacle`](https://github.com/FormidableLabs/spectacle).
3636

37-
Create a new folder somewhere (_Example: `./workspace/github-bootcamp/`_) and run theses commands
37+
- [ ] Create a new folder somewhere (_Example: `./workspace/github-bootcamp/`_).
38+
- [ ] Create a new markdown based presentation
3839

3940
```console
4041
npx create-spectacle
41-
cd 'name-of-your-folder'
42-
npm install raw-loader --save-dev
43-
npm run build
42+
```
43+
44+
```console
45+
? What type of deck do you want to create? ›
46+
One Page
47+
Markdown // select this one
48+
React using Vite
49+
React using webpack
50+
```
51+
52+
```console
53+
cd 'name-of-your-presentation'
54+
npm install raw-loader
4455
npm start
4556
```
4657

58+
You can see the presentation at [http://localhost:3000](http://localhost:3000)
59+
60+
- [ ] replace the content of `slides.md` with:
61+
4762
```mdx
4863
<!-- slides.md -->
4964

@@ -59,33 +74,7 @@ npm start
5974

6075
```
6176

62-
```json
63-
// package.json
64-
65-
"scripts": {
66-
"start": "webpack-dev-server --hot --config ./webpack.config.js",
67-
"clean": "rimraf dist",
68-
"build": "webpack --config ./webpack.config.js --mode production"
69-
},
70-
```
71-
72-
```console
73-
npm start
74-
```
75-
76-
Congratulations, now you need to initialize your new repo with
77-
78-
```console
79-
git init
80-
```
81-
82-
Now we are going to ignore some files. Run this to create a `.gitignore` file and ignore the `node_modules` foler.
83-
84-
```console
85-
echo 'node_modules' > .gitignore
86-
```
87-
88-
Save your work with
77+
Congratulations! now you can save your work.
8978

9079
```console
9180
gss

setup/README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,34 @@ To work faster and become a comand line power user we are going to use these too
3232

3333
### `oh-my-zsh`
3434

35-
![](https://ohmyz.sh/img/themes/mh.jpg)
35+
![oh-my-zsh](https://ohmyz.sh/img/themes/mh.jpg)
3636

3737
Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout...
3838

39-
__Installation__
39+
On macOS, you can install it with:
4040

4141
```console
4242
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
4343
```
4444

45-
[Install some plugins](https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins)
45+
#### Changing theme
4646

47-
ZSH allows you to extend built-in functionality by adding plugins. To enable a plugin, open your `.zshrc` file and add these:
47+
```console
48+
omz theme list
49+
omz theme set THEME_NAME
50+
```
51+
52+
#### [Install plugins](https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins)
53+
54+
ZSH allows you to extend built-in functionality by adding plugins.
55+
56+
```console
57+
omz plugin list
58+
omz plugin enable PLUGIN_NAME
59+
omz plugin disable PLUGIN_NAME
60+
```
61+
62+
To enable a plugin, open your `.zshrc` file and add these:
4863

4964
```console
5065
# Useful oh-my-zsh plugins

0 commit comments

Comments
 (0)
0