- Node 5.3.x or newer
- MongoDB installed and running
Clone this repository:
git clone https://github.com/almapp/uc-courses.git
cd uc-courses
Install dependencies:
npm install
Run:
npm run develop
This will start the application and will be accessible on http://localhost:3000/
.
Run test suite with:
npm test
Clone this repository:
git clone https://github.com/almapp/uc-courses.git
cd uc-courses
Set the environment variables:
# Optional:
# Perform a GET to this endpoint to manually start the scraping
export SECRET_ENDPOINT=secret_route
Start with:
docker-compose up -d
See the logs with:
docker-compose logs