Giter Club home page Giter Club logo

bearcatexchange's Introduction

Bearcat Exchange

The master branch of this repository automatically deploys

This is the source code repository for BearcatExchange.com.

Local copies require a database to operate. That database can be created by running 'bearcatexchange.sql'. The website is hosted on and AWS EC2 instance running a LAMP stack with Ubuntu 16.04 LTS and PHP 7.0 and is connected to and RDS Database. Code is deployed with AWS CodeDeploy through GitHub. Regardless of the deployment environment the code will attempt to send all emails via Amazon SES servers. bearcatexchange-example.ini is replaced in the production environment by bearcatexchange.ini which has the live passwords. For local testing use a copy called bearcatexchange-local.ini.

If you have any questions about this repository please contact Nicholas Ferrara at [email protected].

Disable analytics when developing

Go to the following link to put a temporary cookie in your browser to turn off analytics when developing. Otherwise it will look like the site is experiencing heavy traffic when really it is just you editing code.

https://bearcatexchange.com/?analytics=off

Installation

While updates are fully automated the initial installation is not. In future, it should be automated but until then you must follow the following steps:

  1. Start a public facing ubuntu server
  2. Connect it to some sort of MySQL database
  3. Create an AWS Account so that emails can be sent with SES. This is much faster than using your webserver. You do not need to use other AWS products if you don't want to, although they are used in the current implementation.
  4. git clone the repo onto the server.
  5. Run cd BearcatExchange to move into the folder your just cloned.
  6. Place your real passwords into a file called bearcatexchange.ini. This has the same fields as bearcatexchange-example.ini.
  7. Run sudo chmod 777 codeDeploySetup.sh followed by ./codeDeploySetup.sh to install the code deploy agent if you are using AWS, or only run the parts of that script that are relevant to your setup.
  8. Copy the files and run the scripts that would be installed by the code deploy agent in appspec.yml to complete the setup. these are not perfect and will require some manual intervention.
  9. Enjoy your new install!

bearcatexchange's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

blackpeter13

bearcatexchange's Issues

Reminder email cron job

Currently the following link must be clicked at the beginning of each semester. This could easily be automated with a cron job in the style of the database backups or the certbot updates.

https://bearcatexchange.com/?analytics=off&first=0&request=notify-expirations&pass=INSERT_PRIVATE_PASSCODE

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.