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
test: Ensures that all storage providers are tested on CI (#740)
To avoid using time supporting things now and in the future that aren't being used, we've made the following breaking changes. Note that the Google Cloud Storage package has also been upgraded which helped resolve some flakiness with the tests.
BREAKING CHANGE: No longer supporting `redis-sentinel` due to testing complications and a lack of return on the investment into maintenance. You can use [HAProxy](https://www.haproxy.com/blog/haproxy-advanced-redis-health-check/) as an alternative. You may also consider using Azure Cache, AWS ElastiCache, or Google Cloud Memorystore. Ensure that `EVENTS_REPO=sentinel` is no longer used in your .env file.
BREAKING CHANGE: No longer supporting `AUTH_REPO=fetch`. This was a legacy auth repo from days when we were transitioning from PHP to Node. Use `AUTH_REPO=mongo` instead.
[](https://gitter.im/LearningLocker/learninglocker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7
7
8
-
*Learning Locker is a trademark of [Learning Pool](http://learningpool.com)*
8
+
_Learning Locker is a trademark of [Learning Pool](http://learningpool.com)_
9
9
10
10
### Development: Installation
11
11
@@ -26,23 +26,25 @@ Do not use sudo for any of these installations or commands. If you're working on
26
26
27
27
Before you follow these instructions you may want to exit your `yarn start` command above with Ctrl + C. This ensures that the running app doesn't interfere with your testing by using Mongo and Redis.
28
28
29
-
1. Install dependencies with `yarn`.
29
+
1. Install dependencies with `yarn --frozen-lockfile`.
30
30
1. Start Mongo and Redis with `docker-compose up -d`. If you've followed the [Enterprise setup instructions](https://github.com/LearningLocker/enterprise/blob/master/README.md) already you won't need to do this.
31
31
1. Lint the code with `yarn lint`.
32
32
1. Build the code with `yarn build`.
33
-
1. Test the code with `yarn cover-ci`.
33
+
1. Test the code with `yarn test-local`.
34
34
1. Stop the Mongo and Redis with `docker-compose down`. Use `-v` at the end to delete data.
35
35
36
36
### Production: Installation
37
+
37
38
To install all of Learning Locker, see the [installation documentation](http://docs.learninglocker.net/guides-installing/). To install just the xAPI service, you can follow the instructions below.
38
39
39
40
1. Clone the repository with `git clone [email protected]:LearningLocker/xapi-service.git`.
40
41
1. Switch to the repository directory with `cd xapi-service`.
41
-
1. Install dependencies with `yarn`.
42
+
1. Install dependencies with `yarn --frozen-lockfile`.
42
43
1. Build the code with `yarn build`.
43
44
1. Start the server with `yarn start`.
44
45
45
46
### Docker
47
+
46
48
You can use the steps below to install and run the xAPI service.
47
49
48
50
- Create a ".env" file using the ".env.example" file in this Github repository.
0 commit comments