Skip to content

tamu-edu-students/EventNXT-606

 
 

Repository files navigation

Event-Guest-List-Automation

Setup

Credentials

Create/modify the credential files using

rails credentials:edit --environment <ENVIRONMENT>

following the format in config/credentials.yml and create/edit the .env file following the format in .env.template. Alternatively, if you have the PGP key, decrypt master.key.gpg in the config folder. Then copy over the credentials from running rails credentials:edit to the credentials for the production environment using rails credentials:edit --environment production.

Email

Get a SendGrid API key or use a free mail service. The default mail service defaults to EMAIL_DOMAIN, but can be changed to use SENDGRID_DOMAIN by setting USE_SENDGRID=1 in the .env file. Also, edit the rails credentials with credentials for a default email and SendGrid.

Docker

Install docker and docker-compose for your distribution.

In a terminal, run

docker-compose up -d --build

(Subsequent use may omit the -d and --build flag.)

Verify the containers are up by running docker-compose up. Then, set up the database by running

docker-compose run rails rake db:create db:migrate db:seed

(Must be done if the --build flag is used.)

Stop the containers using

docker-compose down

(Use Ctrl-C to stop the containers if the -d flag was omitted.)

See the documentation folder for our current work.

About

CSCE 606 Project GitHub EventNXT Group

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 53.8%
  • HTML 34.3%
  • JavaScript 9.4%
  • Gherkin 1.1%
  • SCSS 1.1%
  • Shell 0.2%
  • Dockerfile 0.1%