Skip to content

Commit f0cdcee

Browse files
committed
Update docs, remove duplicate file.
1 parent ba6aa63 commit f0cdcee

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@
1515
- Write Nuxt.js applications using Python!
1616
- Currently only supports custom Javascripthon but in the future other compilers will also be expected to work.
1717

18+
## Try the example
19+
20+
1. Clone this repository and change directory into it
21+
2. Install dependencies:
22+
```
23+
npm install # or use yarn
24+
25+
pip install -r requirements.txt
26+
```
27+
3. Run example: `npm run dev`
28+
1829
## Setup
1930
- Add `@nuxtjs/python` dependency using yarn or npm to your project
2031
- Add `@nuxtjs/python` to `modules` section of `nuxt.config.js`
@@ -28,7 +39,10 @@
2839
}
2940
```
3041

31-
- Install the [Javascripthon](https://gitlab.com/metapensiero/metapensiero.pj) Python transpiler (for now **you'll need the development version** e.g. `pip install -r requirements.txt`).
42+
- Install the [Javascripthon](https://gitlab.com/metapensiero/metapensiero.pj) Python transpiler. For now **you'll need the master branch** e.g:
43+
```
44+
pip install -e git+https://gitlab.com/metapensiero/metapensiero.pj#egg=javascripthon
45+
```
3246
3347
- Note that Javascripthon requires that you have **Python 3.5** (or better).
3448

example/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)