Welcome to the Myanmar Data Tech Team Web Application Project! Here, we'll explain the project and how to get started.
For more details and project tracking, visit our Project Page.
Meet our team members who have been working hard on this project:
- Htet Kay Khine
- Myat Po Po Aung
- Nang Seng Lean Pein
- Aye Mya Han
- Khin Kyaing Kyaing Thein
Our web application comes with some cool features:
- Home Page: A landing page for the Myanmar Data Tech Team.
- Blog Pages: Keep up with the team's latest blogs and updates.
- Polls Application: Participate in team surveys and polls. [Optional]
- User Management: Manage your account and preferences.
Before we get started, make sure you have the following installed on your computer:
- Python: If you don't have Python installed, follow this guide to install it.
- Git: If you don't have Git installed, follow the instructions here.
Let's set up the project step by step:
-
Clone the Repository: Download the project files by running this command:
git clone <repository_url>
-
Open the Project: Use your preferred Integrated Development Environment (IDE) to open the project folder.
-
Create a Virtual Environment (Recommended): It's a good practice to isolate project dependencies. You can create a virtual environment by following these instructions.
-
Install Project Dependencies: Run the command
pip install -r requirement.txt
to install the necessary libraries.- create .env in file under mmdt-web-app/mmdt/.env and add the following key:value pair
AWS_ACCESS_KEY_ID = 'your AWS S3 key' AWS_SECRET_ACCESS_KEY = 'your AWS S3 secret key ' AWS_STORAGE_BUCKET_NAME = 'your S3 bucketname ' DEBUG = True or False
-
Database Setup:
- Run these commands to set up the database:
python manage.py makemigrations python manage.py migrate
- Run these commands to set up the database:
-
Create an Admin User: Use this command
python manage.py createsuperuser
to create an admin user for managing the application: You'll be prompted to enter a username, email, and password for the admin user. -
Run the Project: Start the web application by running:
python manage.py runserver
-
Access the Application: You can now access the following URLs in your web browser:
- http://127.0.0.1:8000/: Home Page/Blog Page
- http://127.0.0.1:8000/admin: Admin Panel