Event registration app for RMS tour of 2019. https://rms-tour.gnu.org.in/registration/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Abhishek Balam 117b7734de Adding GPLv3 License. 3 months ago
rms_registration Initial Commit 4 months ago
.gitignore Initial Commit 4 months ago
Dockerfile Initial Commit 4 months ago
LICENSE Adding GPLv3 License. 3 months ago
MANIFEST.in Initial Commit 4 months ago
README.md Update 'README.md' 4 months ago
dev.sh Initial Commit 4 months ago
events.json Initial Commit 4 months ago
install.sh Initial Commit 4 months ago
requirements.txt Initial Commit 4 months ago
setup.py Initial Commit 4 months ago
teardown.sh Initial Commit 4 months ago

README.md

Event registration app for RMS tour of 2019

Note: This app uses Python 2.7.

Instructions:

  • For Testing in Development env:

    1. Enter Virtual Environment:
      • source venv/bin/activate
    2. Install python dependencies:
      • pip install -r requirements.txt
    3. Initalize Sqlite3 database:
      • For first use, uncomment flask init-db command in dev.sh
      • Creates a newsletter.sqlite3 file in instance/ with tables defined in schema.sql
      • PLS COMMENT AFTER 1st TIME as it creates a fresh database. All data will be lost otherwise.
    4. Setup Nginx to proxy port 5000
    5. To run dev server:
      • sh dev.sh
      • This is temp. Will change later.
  • For Production:

    1. Setup Nginx to proxy port 5000
    2. Review install.sh. It does the following:
      • build a docker image
      • runs it in disconnected mode
      • initialises a fresh sqlite db instance/newsletter.sqlite3.
    3. Run sh install.sh
    4. Test the site

NOTE: Inside the container the app runs on port 8000 Next: