Skip to content

Commit

Permalink
Merge pull request #2 from jorgercosta/master
Browse files Browse the repository at this point in the history
Primeira versão funcional
  • Loading branch information
michelmelo authored Oct 16, 2020
2 parents da11327 + 387a447 commit 5e87143
Show file tree
Hide file tree
Showing 18 changed files with 342 additions and 546 deletions.
Binary file added .DS_Store
Binary file not shown.
7 changes: 0 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
TOKEN=YOUR_TOKEN_HERE
CHANNELID=YOUR_CHANNEL_ID_HERE
FETCHINTERVAL=3600

LANDINGJOBS_TAGS=Laravel,PHP
LANDINGJOBS_LASTPUBLISHEDID="0"

ITJOBS_API=YOUR_API_TOKEN_HERE
ITJOBS_SEARCH=php,laravel
ITJOBS_LASTPUBLISHEDID="0"
1 change: 1 addition & 0 deletions LandingJobs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"tags":["laravel","php","java"],"last_published_job_id":10954}
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,34 @@

**Requirements**

-
- Node.js

**Steps to activate this project**
**Steps to run this project**

1. Clone this repository.
2. `npm install`
3. Update the `.env` file.
4. Run `npm start`.

## .env

### TOKEN

To use a Discord Bot you need an API TOKEN, to create one follow this tutorial (https://discordpy.readthedocs.io/en/latest/discord.html#).

### CHANNELID

This Discord Channel Id, to get this id you should active "Developer Mode" in Appearance of your Discord Settings and after right-click the Target Channel and copy the ID.

### FETCHINTERVAL

The number of seconds between pulls, please keep it high (you should be fine with at least 30 minutes).

## Testing

This project is fully tested. We have an [automatic pipeline](https://github.com/laravel-portugal/recrutador/actions) and an [automatic code quality analysis](https://coveralls.io/github/laravel-portugal/recrutador) tool set up to continuously test and assert the quality of all code published in this repository, but you can execute the test suite yourself by running the following command:

``` bash
```bash

```

Expand Down
41 changes: 0 additions & 41 deletions app.js

This file was deleted.

90 changes: 0 additions & 90 deletions bin/www

This file was deleted.

Loading

0 comments on commit 5e87143

Please sign in to comment.