Skip to content

Commit

Permalink
fungerande version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alva Fandrey committed May 17, 2018
1 parent 6b010a3 commit b9f3045
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5,607 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
1. Clone repository
2. cd into repository
3. Run ```npm install```
4. Start application with ```node app```
5. Open a new terminal
6. cd into repository/client
7. Run ```npm install```
8. Start ```npm start```
4. cd into client
5. Run ```npm install```
6. cd back to root folder
7. Run ```npm run kom```
8. Exit with Ctrl+C
7 changes: 0 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ app.use(function(req, res, next) {
next();
});

let scrape = require('./src/libs/infoScraper')
app.get('/scrape', function (req, res) {
scrape().then((value) => {
res.send(value)
})
})

app.use(express.static(path.join(__dirname, 'public')));

app.use(bodyParser.json());
Expand Down
Loading

0 comments on commit b9f3045

Please sign in to comment.