Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

antleaf/SComCaT

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SComCat

This repository is no longer under active development or maintenance. You may reuse the code and data subject to the respective licenses:

This repository contains the source-code and data for the Scholarly Communication Technology Catalogue, developed by Antleaf for the Confederation of Open Access Repositories (COAR) as part of the Next Generation Libraries Project.

The development of this catalogue was funded by Arcadia, a charitable fund of Lisbet Rausing and Peter Baldwin.

To deploy

The following will deploy the software with all the data that had been added up to 2022-09-21.

Install all necessary ruby gems

Run bundle install

Set environment variables

If you are running in "production", you will need to supply environment variables in whatever manner is supported in your production environment.

In "development" or "test" environments, you have the option of using a .env file in the application root folder (the folder containing this README file). Create a file in this root folder called .env by copying .env_TEMPLATE

In either case, the following environment variables are used in the application:

# these env variables are loaded by the dotenv gem but only in development or test environments.

### REQUIRED - settings for SMTP mailer used for "forgotten password" feature and for user feedback feature
SCOMCAT_SMTP_HOST='smtp.gmail.com'
SCOMCAT_SMTP_PORT=587
SCOMCAT_SMTP_DOMAIN='example.com'
SCOMCAT_SMTP_USERNAME='john-doe@example.com'
SCOMCAT_SMTP_PASSWORD=''
SCOMCAT_MAILER_FROM='john-doe@example.com'

The environment variables are necessary to configure the SMTP mailer used to:

  • send "forgotten password" messages
  • send user feedback to the editors

A GMail account works just fine for this - but you are advised to get an 'application password' for this account rather than using the user account's password.

Read more about application passwords for Google accounts here

Start the application

Run rails server

If running in development mode, go to http://localhost:3000

You can login withe a default admin account:

username: admin@example.com password: changemenow

Now you can create more user accounts using the admin web interface.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published