IC voting app for VCs
import logging
from gunicorn.app.base import BaseApplication
from app_init import create_initialized_flask_app
# Flask app creation should be done by create_initialized_flask_app to avoid circular dependency problems.
app = create_initialized_flask_app()
# Setup logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
class StandaloneApplication(BaseApplication):
def __init__(self, app, options=None):
self.application = app
self.options = options or {}
super().__init__()
def load_config(self):
# Apply configuration to Gunicorn
for key, value in self.options.items():
if key in self.cfg.settings and value is not None:
self.cfg.set(key.lower(), value)
def load(self):
Created: | Last Updated:
Here's a step-by-step guide for using the IC voting app for VCs template:
Introduction
The IC voting app for VCs is a powerful tool designed to streamline the investment committee (IC) voting process for venture capital firms. This template provides a secure platform where authorized users can log in and vote on investment proposals.
Getting Started
To begin using this template:
- Click the "Start with this Template" button in the Lazy Builder interface.
Test the Application
After starting with the template:
- Click the "Test" button in the Lazy Builder interface.
- This will initiate the deployment process and launch the Lazy CLI.
Using the App
Once the app is deployed, you can access its features:
User Management
- The first user to log in will automatically be added to the allowed list.
- To manage users:
- Navigate to the "User Management" section.
- Here you can add new admin emails or remove existing ones.
Investment Proposals
- To add a new investment proposal:
- Go to the "Investment Proposals" section.
- Click the "Add New Proposal" button.
- Fill in the required information:
- Company Name
- Description
- Funding Amount
-
Submit the proposal.
-
To manage existing proposals:
- In the "Investment Proposals" section, you can view all proposals.
- Use the "Toggle Vote Status" button to open or close voting for each proposal.
Voting
- Active votes can be found on the home page.
- For each proposal, users can:
- Vote to Approve
- Vote to Reject
-
Abstain from voting
-
The voting status is updated in real-time, showing:
- The number of votes cast
- Anonymized voter information
Security and Authentication
The app uses Google authentication to ensure secure access. Only users with email addresses in the allowed list can access the application.
Customization
You can customize the app's appearance by modifying the CSS in the styles.css
file. The app uses Bootstrap for styling, so you can leverage Bootstrap classes for further customization.
By following these steps, you'll have a fully functional IC voting app for your venture capital firm, allowing for secure and efficient decision-making on investment proposals.