Skip to content

GDG Ukraine website, event registration forms and some crutches. TODO: admin UI port from Node.js.

License

Notifications You must be signed in to change notification settings

webknjaz/gdg.org.ua

 
 

Repository files navigation

Stories in Ready

`master` branch status

codecov

Uptime Robot status

Uptime Robot ratio (last 7 days)

gdg.org.ua

This is the event registration system for GDG Ukraine events.

Requirements:

  • Python 3.5+ (it is recommended to use pyenv for dev environment)
  • NodeJS 5.0+ (it is recommended to use nvm for dev environment)
  • MySQL (MariaDB works well)

Prerequisites:

Create DB and user, with smth like:

Create .exports file with following contents:

For dev add following line as well:

How to run it on localhost

  • First, prepare the environment:
  • Create database tables:
  • Start application:
  • Open http://localhost:8080/ in your favourite browser and have fun :)

P.S. make dev (or just make) combines steps above except db target

How to run it in production

  • Prepare the environment:
  • Create database tables:
  • Start application:

How to upgrade production (DEPRECATED!)

We have bin/update_gdg script for this

Running tests

You can use [tox](https://tox.readthedocs.org) to run tests as well. Unfortunately, due to some bug in tox itself some special steps are required.

Enabling env

If you for some reason need to run shell with env activated, run this:

Troubleshooting

Errors with installing mysql-connector-python

If you are getting errors about pip cannot find mysql-connector-python you can use the following workaround:

or download the mysql-connector-python archive manually and then try to install requirements again.

If you see any wheel-related error output, you may want to avoid it by using --no-use-wheel option. E.g.:

About

GDG Ukraine website, event registration forms and some crutches. TODO: admin UI port from Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.3%
  • HTML 26.5%
  • CSS 9.3%
  • JavaScript 8.9%
  • Shell 2.6%
  • Makefile 1.2%
  • Mako 0.2%