ajmastra / cs-386-event-pulse

capturing the heartbeat of local events!
https://cs-386-event-pulse.onrender.com/
MIT License
5 stars 0 forks source link

Event Pulse

Capturing the heartbeat of local events!

EventPulse is an event tracking application designed for NAU students and Flagstaff residents in mind. It helps users explore local events, connect with groups of people who share similar interests, and engage in discussions about events.

Version:

Current Version: v0.1.0 (Pre-release)

Built With

Installation

To set up the EventPulse application locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/ajmastra/cs-386-event-pulse
    cd cs-386-event-pulse
  2. Install the required pacakges:

    pip install -r requirements.txt
  3. Run the application
    Windows systems:

    python main.py

    Unix systems:

    python3 main.py
  4. In the console, open the local host it gives you, for example,

    * Running on http://xxx.x.x.x:xxxx

    Feel free to make accounts and events to test out the software!

Deployment

To deploy Event Pulse on a server/website such as Render with PostgreSQL...

  1. Ensure you have a Procfile in the root directory with

    web: gunicorn main:app
  2. Create a Render PostgreSQL databse, and copy the Interal address for the DB that will look something like:

    postgresql://example_db_user:some-long-string-of-characters/example_db
  3. Create a 'Web Service' on Render, and connect it to your GitHub repository. During the setup, ensure that you put this in your Build Command:

    pip install -r requirements.txt

    And this in your start command:

    gunicorn main:app
  4. Now, add a new environment variable named DATABASE_URL, and set it to the PostgreSQL internal address you copied earlier.

  5. Now wait for Render to build and deploy your app, and you should be all set!

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgements