You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,27 @@ Now open [`src/ReactDigits.js`](src/ReactDigits.js) and enter your consumer key
20
20
21
21
You can find your consumer key in your [Fabric web dashboard](https://fabric.io/dashboard) under the Twitter Kit tab. Note that Digits does not work with keys created from [apps.twitter.com](apps.twitter.com).
22
22
23
-
### Running a server in another terminal
23
+
### Running the Server
24
24
25
+
##### Python
25
26
```bash
27
+
# install pre-requisites
28
+
pip install -r requirements.pip
29
+
30
+
# start the server (in a separate tab)
26
31
python server.py
27
32
```
28
33
34
+
##### Ruby
35
+
```bash
36
+
# install pre-requisites
37
+
gem install bundler
38
+
bundle install
39
+
40
+
# start the server (in a separate tab)
41
+
ruby server.rb
42
+
```
43
+
29
44
Head over to `localhost:5000` and you should be able to see this code in action; try and log in using Digits!
30
45
31
46
## Contributing
@@ -41,4 +56,4 @@ Have a look at the [issue tracker](https://github.com/AnSavvides/react-digits/is
0 commit comments