NO LONGER MAINTAINED Developer portal
8.5K
Developer Portal website.
This website is available as a Docker image here:
https://hub.docker.com/r/silintl/developer-portal/
We recommend using that as the FROM in your own Dockerfile in your own
private repo, where you would COPY into your own Docker image the files needed
by SimpleSAMLphp (if using SAML logins), your own
/data/public/img/logos/site-logo.png, etc.
Your Dockerfile should (in this order)...
/tmp/ssp-overrides./tmp/install-deps-and-ssp-overrides.sh, since it will move the SAML
files into the SimpleSAMLphp folders within the vendor folder after
installing composer dependencies.FROM silintl/developer-portal:4.0.1
ENV REFRESHED_AT 2021-04-08
# Put in place any additional custom SAML files:
COPY build/ssp-overrides /tmp/ssp-overrides
# Put dependencies and SSP overrides in their final location
RUN /tmp/install-deps-and-ssp-overrides.sh
# Copy in any custom files needed, which are stored in this repo.
COPY build/favicons /data/public
COPY build/logos /data/public/img/logos
WORKDIR /data
EXPOSE 80
# Record now as the build date/time (in a friendly format).
RUN date -u +"%B %-d, %Y, %-I:%M%P (%Z)" > /data/protected/data/version.txt
CMD ["/data/run.sh"]
The environment variables that this code uses are (for the purposes of
semantic versioning) considered this code's public interface. That is how
backwards-compability will be determined. If a new version of this code is
released that bumps the major version number (e.g. from 1.x.y to 2.0.0),
you will probably have to change something about what environment variables
you are providing when running this Docker image.
git clone [email protected]:silinternational/developer-portal.gitlocal.env.dist file to local.env, and update its
contents appropriately.vagrant upSHOW_POPULAR_APIS (boolean)application/protected/views/partials/home-lower-right.php
will be shown (which you can set the content of in the site_text table in
the database).Add one of the following lines to your hosts file (replacing
your-domain-name with the domain name you want to use).
If using Vagrant:
192.168.33.10 your-domain-name
If using Docker directly (without Vagrant):
127.0.0.1 your-domain-name
If you try to access http://your-domain-name/phpmyadmin/ and get the following error...
phpMyAdmin - Error
Wrong permissions on configuration file, should not be world writable!
... then add the following line to the end of
vendor\phpmyadmin\phpmyadmin\config.inc.php:
$cfg['CheckConfigurationPermissions'] = false;
Content type
Image
Digest
sha256:398275bff…
Size
215.5 MB
Last updated
12 months ago
docker pull silintl/developer-portalPulls:
16
Last week