GithubHelp home page GithubHelp logo

learninglocker-docker's People

Contributors

adinapoli avatar hongymagic avatar trewq avatar zpetterd avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

learninglocker-docker's Issues

Registration fails when no SMTP is configured.

I'm running this image but did not configure any of the SMTP env vars. When I register an account in the first screen I get the following error that seems to have to do with the fact the an SMTP config is missing:

Swift_TransportException
Expected response code 250 but got code "", with message ""

(…/­vendor/­swiftmailer/­swiftmailer/­lib/­classes/­Swift/­Transport/­AbstractSmtpTransport.php383)

Is there a way to run the image without SMTP being configured?

Using latest Learning Locker

Learning Locker v2 is now using NodeJS not PHP. The DockerFile in here pulls down the latest so therefore this no longer works as it's set up for a PHP environment.

We have managed to get this working by replacing the following:

RUN curl -L -o learninglocker.tar.gz `curl -s https://api.github.com/repos/LearningLocker/learninglocker/releases/latest | jq --raw-output '.tarball_url'`\
	&& tar -xzf learninglocker.tar.gz -C /var/www/html --strip-components=1 \
	&& rm learninglocker.tar.gz \
	&& chown -R www-data /var/www/html

to this

RUN curl -L -o learninglocker.tar.gz `curl -s https://api.github.com/repos/LearningLocker/learninglocker/releases/5967511 | jq --raw-output '.tarball_url'`\
	&& tar -xzf learninglocker.tar.gz -C /var/www/html --strip-components=1 \
	&& rm learninglocker.tar.gz \
	&& chown -R www-data /var/www/html

So it uses the last v1 version (1.17 I believe).

Regards
Paul

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.