Skip to content

Commit f0a9467

Browse files
committed
first commit
0 parents  commit f0a9467

File tree

297 files changed

+29427
-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

+29427
-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

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
## Meteor Vue Tutorial
2+
3+
### MIGRATION IN PROGRESS
4+
Don't use this yet.
5+
6+
If you are looking for the tutorial, please go to [https://react-tutorial.meteor.com](https://react-tutorial.meteor.com) and check it there.
7+
8+
This repository is the place to check the code (`src` folder) and to make contributions.
9+
10+
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)).
11+
12+
This is a [hexo](https://hexo.io) static site used to generate the [Meteor React Tutorial Docs](https://react-tutorial.meteor.com).
13+
14+
## Contributing
15+
16+
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).
17+
18+
If you are making a larger contribution, you may need to run the site locally:
19+
20+
### Running locally
21+
22+
- 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)
23+
24+
`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash`
25+
- Install Node.js 8.11.2:
26+
27+
`nvm install 8.11.2`
28+
29+
- Install the project
30+
31+
`npm install`
32+
33+
- Run it
34+
35+
`npm start`
36+
37+
### Styles and Lint
38+
39+
Make sure your changes are not breaking styles and lint rules, in the root project, run:
40+
41+
- `npm install`
42+
- `npm run quave-check`
43+
44+
`quave-check` should not return any error or warning. If it does you need to fix them before sending a PR.
45+
46+
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.
47+
48+
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.
49+
50+
### Making a Pull Request
51+
52+
- Create a fork and make your changes on it.
53+
54+
- Test your changes and make sure you sync your code changes (`src` folder) with your text changes (`tutorial` folder).
55+
56+
- Build your changes:
57+
58+
`npm run build`
59+
60+
- Create your Pull Request against `master` branch.
61+
62+
- Sign the CLA.
63+
64+
- 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)