Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ojuswizard/zealicon-2k22
https://github.com/ojuswizard/zealicon-2k22
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ojuswizard/zealicon-2k22
- Owner: OjusWiZard
- License: gpl-3.0
- Created: 2022-04-03T15:03:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-03T20:58:10.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T11:19:22.751Z (9 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zealicon 2k22
## How to setup development environment (Linux)
1. Clone this repository `git clone https://github.com/OjusWiZard/Zealicon-2k22.git`.
2. `cd Zealicon-2k22`.
3. Run `virtualenv venv`.
4. `source venv/bin/activate` to activate the virtual environment.
5. Run `pip install -r requirements.txt` to install the dependencies.
6. Run migrations using `python manage.py migrate`.
7. `python manage.py runserver` and you're ready.## Adding evironment variables
1. Create a `.env` file.
2. Set environment variables as below
```sh
# General SettingsSERVER_HOST = ""
DJANGO_SECRET_KEY = ""
DEBUG = True
FRONTEND_HOST = "zealicon.in"# Razorpay Payment Settings
FEE_AMOUNT = 100
KEY_ID = ""
KEY_SECRET = ""# Email Settings
EMAIL_USE_TLS = False
EMAIL_HOST = ""
EMAIL_PORT = ""
EMAIL_HOST_USER = ""
EMAIL_HOST_PASSWORD = ""
DEFAULT_FROM_EMAIL = ""
```## Launcing on Production using Docker
1. Create `.env` in root folder
3. Run `docker-compose up`.