Skip to content

Commit 27cc5fd

Browse files
committed
initial commit
0 parents  commit 27cc5fd

File tree

297 files changed

+29424
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+29424
-0
lines changed

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# general
2+
**/.meteor/local/*
3+
**/node_modules/*
4+
5+
# specific for tutorial repo
6+
public/script/*
7+
scripts/*

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
Thumbs.db
3+
db.json
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
data/
9+
_multiconfig.yml
10+
.idea/

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "themes/meteor"]
2+
path = themes/meteor
3+
url = https://github.com/meteor/hexo-theme-meteor.git
4+
[submodule "code"]
5+
path = code
6+
url = https://github.com/meteor/meteor.git

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.11.2

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/.meteor/local/*

README.md

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
## Meteor React Tutorial
2+
3+
If you are looking for the tutorial, please go to [https://react-tutorial.meteor.com](https://react-tutorial.meteor.com) and check it there.
4+
5+
This repository is the place to check the code (`src` folder) and to make contributions.
6+
7+
Read in the tutorial home page where you should ask questions (spoiler: [Forums](https://forums.meteor.com) or [Slack](https://join.slack.com/t/meteor-community/shared_invite/enQtODA0NTU2Nzk5MTA3LWY5NGMxMWRjZDgzYWMyMTEyYTQ3MTcwZmU2YjM5MTY3MjJkZjQ0NWRjOGZlYmIxZjFlYTA5Mjg4OTk3ODRiOTc)).
8+
9+
This is a [hexo](https://hexo.io) static site used to generate the [Meteor React Tutorial Docs](https://react-tutorial.meteor.com).
10+
11+
## Contributing
12+
13+
We'd love your contributions! Please send us Pull Requests or open issues on [github](https://github.com/meteor/react-tutorial). Also, read the [contribution guidelines](https://github.com/meteor/docs/blob/master/Contributing.md).
14+
15+
If you are making a larger contribution, you may need to run the site locally:
16+
17+
### Running locally
18+
19+
- Install [nvm](https://github.com/nvm-sh/nvm) to manage your Node.js (yes, this is an hexo project and not Meteor, in Meteor you don't need to worry about Node.js versions at all)
20+
21+
`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash`
22+
- Install Node.js 8.11.2:
23+
24+
`nvm install 8.11.2`
25+
26+
- Install the project
27+
28+
`npm install`
29+
30+
- Run it
31+
32+
`npm start`
33+
34+
### Styles and Lint
35+
36+
Make sure your changes are not breaking styles and lint rules, in the root project, run:
37+
38+
- `npm install`
39+
- `npm run quave-check`
40+
41+
`quave-check` should not return any error or warning. If it does you need to fix them before sending a PR.
42+
43+
If you get an error because some npm modules are not resolved (`import/no-unresolved`) you need to run `npm install` inside the Meteor project that is throwing this error so you generate the `node_modules` folder for it.
44+
45+
We have a git hook to prevent commits that are not passing these rules but it's good to double-check as maybe your hooks set up can be messed up.
46+
47+
### Making a Pull Request
48+
49+
- Create a fork and make your changes on it.
50+
51+
- Test your changes and make sure you sync your code changes (`src` folder) with your text changes (`tutorial` folder).
52+
53+
- Build your changes:
54+
55+
`npm run build`
56+
57+
- Create your Pull Request against `master` branch.
58+
59+
- Sign the CLA.
60+
61+
- Wait for feedback or approval.

_config.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
title: Meteor React Tutorial
2+
subtitle: React Tutorial
3+
versions:
4+
- '1'
5+
versioned-netlify-redirects:
6+
netlify_site_id: meteor-react-tutorial
7+
sidebar_categories:
8+
null:
9+
- index
10+
- changelog
11+
Simple Todos:
12+
- simple-todos/index
13+
- simple-todos/01-creating-app
14+
- simple-todos/02-collections
15+
- simple-todos/03-forms-and-events
16+
- simple-todos/04-update-and-remove
17+
- simple-todos/05-styles
18+
- simple-todos/06-filter-tasks
19+
- simple-todos/07-adding-user-accounts
20+
- simple-todos/08-methods
21+
- simple-todos/09-publications
22+
- simple-todos/10-running-on-mobile
23+
- simple-todos/11-testing
24+
- simple-todos/12-deploying
25+
- simple-todos/13-next-steps
26+
github_repo: 'meteor/react-tutorial'
27+
28+
url: http://react-tutorial.meteor.com/
29+
root: /
30+
31+
source_dir: tutorial
32+
content_root: tutorial
33+
34+
highlight:
35+
enable: false

assets/theme-colors.less

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Haven't made any changes as we want the default Meteor colors

netlify.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
publish = "public"
3+
command = "npm install && npm run build"

0 commit comments

Comments
 (0)