Enables organizers to manage events from concerts to conferences and meet-ups.
Deploy this app to Linode with a free $100 credit!
The Open Event Server enables organizers to manage events from concerts to conferences and meet-ups.
It offers features for events with several tracks and venues. Event managers can create invitation forms for speakers and build schedules in a drag and drop interface. The event information is stored in a database. The system provides API endpoints to fetch the data, and to modify and update it. Organizers can import and export event data in a standard compressed file format that includes the event data in JSON and binary media files like images and audio.
The Open Event Server exposes a well documented JSON:API Spec Compliant REST API
that can be used by external services (like the Open Event App generators and the frontend) to access & manipulate the data.
API Documentation:
- Every installation of the project includes API docs, (e.g. here on the test install https://open-event-api.herokuapp.com).
- A hosted version of the API docs is available in the gh-pages
branch of the repository at http://dev.eventyay.com/api/v1
Please join our mailing list to discuss questions regarding the project.
Our chat channel is on Gitter
A demo version is automatically deployed from our repositories:
* Deployment from the master
branch - open-event-api.herokuapp.com
* Deployment from the development
branch - open-event-api-dev.herokuapp.com
The Open Event Server can be easily deployed on a variety of platforms. Detailed platform-specific installation instructions have been provided below.
One-click Heroku deployment is also available:
Please get familiar with the components of the project in order to be able to contribute.
Note that open-event-server works with Python 3.8 at the moment.
OAuth is used to get information from Facebook and Google accounts, that enables users to sign in with their respective credentials: 1. Google - https://accounts.google.com/o/oauth2/auth 2. Facebook - https://graph.facebook.com/oauth
Twitter feed integration is provided in the public event pages.
Required keys can be obtained from https://dev.twitter.com/overview/documentation
It is possible to extend the functionality and offer images from Instagram in the event service.
Required keys can be obtained from https://www.instagram.com/developer/authentication/.
Google maps is used to get information about location (info about country, city, latitude and longitude).
Required keys can be obtained from https://developers.google.com/maps/documentation/javascript/get-api-key.
Media (like audio, avatars and logos) can be stored either Locally, on Amazon S3 or on Google Storage.
The server can send emails via SMTP or using the sendgrid API.
admin/settings
If the application is deployed on Heroku, we use the heroku API to obtain the latest release and also to display the heroku.
The required token can be obtained from https://devcenter.heroku.com/articles/authentication.
For ticket sales the service integrates payment gateways: 1. Stripe - Obtaining Keys. 2. Paypal - Obtaining Credentials.
Import:
Open Event server supports multiple formats as a valid source for import.
Export:
The event data and the sessions can be exported in various formats. - A zip archive with JSON (matching the API structure) and binary media files. Read more about this here. - The Pentabarf XML format. (Sample file). - The iCal format. (Sample file). - The xCal format. (Sample file).
The system has two kinds of role type.
Read more here.
To enable development mode (development Flask config), set APP_CONFIG
environment variable to "config.DevelopmentConfig".
export APP_CONFIG=config.DevelopmentConfig
When writing changes to models. Use migrations.
# To generate a migration after doing a model update
python3 manage.py db migrate
# To sync Database
python3 manage.py db upgrade
# To rollback
python3 manage.py db downgrade
When checking in code for models, please update migrations as well.
The api is documented using api blueprint. First, generate the description/blueprint .apib
file using:
npx aglio --input docs/api/api_blueprint_source.apib --compile --output docs/api/api_blueprint.apib # generate the description .apib file
Local changes to the description can be viewed using e.g. the apiary gem:
gem install apiaryio # dependency
apiary preview --path docs/api/api_blueprint.apib # opens browser with generated file
Clone the repo and set up the server according to the steps listed. Make sure you have installed Poetry and all the dependencies required for testing by running
# Install Poetry
curl -sSL https://install.python-poetry.org | python -
source ~/.profile
# Install Python dependencies
poetry install
# Activate project's virtual environment
poetry shell
```shell script ./scripts/test_db.sh
And set appropriate value of `TEST_DATABASE` in `.env`
```shell script
TEST_DATABASE_URL=postgresql://test@localhost:5433/test
pytest tests/
robot -v SERVER:{server_name} -v SUPERUSER_USERNAME:{super_user_email_here} -v SUPERUSER_PASSWORD:{super_user_password} tests/robot
Change all the parameters inside {}
as per your local server. The final command would look like:
robot -v SERVER:localhost:5000 -v SUPERUSER_USERNAME:test@opev.net -v SUPERUSER_PASSWORD:test_password tests/robot
* Once the tests are completed, a report and a log would be generated at report.html
and log.html
respectively in your root directory.
Git hook scripts are useful for identifying simple issues before submission to code review.
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit
Certain information is being logged and stored in the database for future reference, resolving conflicts in case of hacks and for maintaining an overview of the system. Read more about logging here.
Open Event is being translated using Weblate, a web tool designed to ease translating for both developers and translators.
If you would like to contribute to the translation of Open Event, you need to register on this server.
Once you have activated your account just proceed to the translation section.
This is an Open Source project and we would be happy to see contributors who report bugs and file feature requests submitting pull requests as well. Please report issues here https://github.com/fossasia/open-event-server/issues. It is also recommended to go through the developer handbook in order to get a basic understanding of the ecosystem.
We have the following branches : * development All development goes on in this branch. If you're making a contribution, please make a pull request to development. All PRs must pass a build check and a unit-test check on Travis (https://open-event-api-dev.herokuapp.com - Is running off of the development branch. It is hosted on Heroku.)
master
branch. Hosted on Google Cloud Platform (Google Container Engine + Kubernetes).)The tentative release policy, for now (since there is a lot of activity and a lot of bugs), is an alpha release every Monday and Friday (since we see more activity on weekends). So, any bug-fixes will not be reflected at eventyay.com until a new release is made in the master branch.
Commits * Write clear meaningful git commit messages (Do read http://chris.beams.io/posts/git-commit/) * Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (More info at https://github.com/blog/1506-closing-issues-via-pull-requests ) * When you make very minor changes to a PR of yours (like for example fixing a failing travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at https://davidwalsh.name/squash-commits-git ) * When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.
Feature Requests and Bug Reports * When you file a feature request or when you are submitting a bug report to the issue tracker, make sure you add steps to reproduce it. Especially if that bug is some weird/rare one.
Join the development * Before you join development, please set up the system on your local machine and go through the application completely. Press on any link/button you can find and see where it leads to. Explore. (Don't worry ... Nothing will happen to the app or to you due to the exploring Only thing that will happen is, you'll be more familiar with what is where and might even get some cool ideas on how to improve various aspects of the app.) * Test the application on your machine and explore the admin area. The test deployment on Heroku will not give you access to the admin section, where you can switch on/off modules, e.g. ticketing and add keys for services, e.g. storage on S3. * If you would like to work on an issue, drop in a comment at the issue. If it is already assigned to someone, but there is no sign of any work being done, please free to drop in a comment so that the issue can be assigned to you if the previous assignee has dropped it entirely.
This project is currently licensed under the GNU General Public License v3.
To obtain the software under a different license, please contact FOSSASIA.
Please login to review this project.
No reviews for this project yet.
A minimal events aggregator.
A free, open-source expert system for guided interviews and…
Feature-rich Open Source web based polling software. Suppor…
Comments (0)
Please login to join the discussion on this project.