Web-It is a web application that helps users create, customize, manage, and modify content on a website without the need for specialized technical knowledge. In simpler words, it is a content management system that helps you build a website without needing to write all the code from scratch (or even know how to code at all). This application is aimed at helping bloggers and companies with little or no knowledge on how to create a website, create their own websites, depending on the use case. It is built on top of the Django framework
- Introduction
- Features
- Technologies Used
- Prerequisite
- Setup and Instatllation
- How To Contribute
- Acknowlodgement
- Authors
- Links to necessary documentations
This markdown file contains all technical documentation related to the setup, deployment, update, and customization of the Web-It web application.
Web-It is a platform that allows you to spin up a basic website based on the available templates. Here is a list of its attributes:
- Visit the platform to view basic information about it
- View and interact with the documentation
- Register to set up a new website
- Setup the website by filling out some information
- Browse through available templates
- Full access to the platform
- Access to the backend of the created website
- Ability to create more pages
- Ability to change the template
- Unique address
- Ability to add social media links
- Design: Figma and FigJam
- Frontend: React, TailwindCSS, Flexbox, React Router, Font Awesome
- Backend - Python, Django, Django REST Framework and MySQL (database)
To install Web-It locally, you will need the following:
- A computer running macOS, Windows or Linux
- Python or pip to manage packages
- A supported version of Django
- A clean empty directory on your machine
The web application can be installed locally on a computer. The following installation guides will guide you step-by-step to create a new project and get it started.
- Clone the repository in your local machine -
git clone https://github.com/zuri-training/Proj_team_17_my_cms.git
- Move into the Backend folder
- Create a virtual environment -
python -m venv env
- Activate the virtual environment -
env\Scripts\activate
(for Windows) orsource env/bin/activate
(for macOS) - Install all dependencies in the requirements.txt file -
pip install -r requirements.txt
- Move into the web_maker folder and run the command -
npm create-react-scripts
and then runnpm run build
- Ensure you have MySQL installed for the database
- You would be required to create a password during the installation of MySQL
- Go into the settings.py file in the Backend/web_maker/web_maker/ diectory, edit the PASSWORD in the DATABASES to the password you created when installing MYSQL
i.e. In the settings.py file
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'webit',
'USER': 'root',
'PASSWORD': '<your-created-password>',
'HOST': '127.0.0.1',
'PORT': '3306',
'OPTIONS': {
'charset' : 'utf8',
'use_unicode' : True,
'init_command': 'SET '
'character_set_connection=utf8,'
'collation_connection=utf8_bin',
},
'TEST_CHARSET': 'utf8,',
'TEST_COLLATION': 'utf8_unicode_ci',
}
}
- Next, move back into the Backend/web_maker/ directory and then make migrations -
python manage.py makemigrations
- Next, run the command -
python manage.py migrate
- Run the server with -
python manage.py runserver
- Finally, go to
http://127.0.0.1:8000/
to see the web application
- Fork the project repository by clicking on the fork symbol at the top right corner of the page
- Clone the forked repository on your local machine -
git clone https://github.com/zuri-training/Proj_team_17_my_cms.git
- Move into the repository (folder) just created on your local machine
- Set upstream -
git remote add https://github.com/zuri-training/Proj_team_17_my_cms.git
- Create and move to a new branch to make your changes -
git checkout -b <name-of-your-new-branch>
- Stage the files you made changes to -
git add <name-of-file>
- Commit your changes with a message -
git commit -m "your-message"
- Push your changes to your forked repository -
git push -u origin <name-of-your-new-branch>
- Create a pull request on GitHub for your changes to be reviewed
- Wait for one of the administrators to review your pull request and merge
We would like to thank Ingressive For Good & the Zuri Team for this training and for everything that was put in place to make this a success. We have been pushed to do a lot during the course of this training, especially during this project phase. We are grateful for this opportunity that was given to learn, grow and also connect with other amazing designers, developers and mentors.
This a file containing the authors of this project repository - AUTHORS
- Link to our Documentation
- Link to our Figma file
- Link to our FigJam
- Link to an extensive report on how our product designers created our designs
- Link to our Database Schema
- Link to our Final presentation video
- Link to our First presentation video
- Link to our Presentation slides
- Link to Google sheet of active members and assigned tasks