
The "Adevo Calendar" is an activity in which every day (during the Advent) a gift related to software programming and development (books, courses ...) is raffled. Its purpose is to help share knowledge and encourage community learning.
If you consider the project useful, apóyalo doing "★ Star" in the repository. Thank you!
You have a channel called "Python" on the Discord server of the community to ask, share and help.
This is the general structure of the project.
Make a Fork from the repository.
Clona that repository in your local machine.
git clone https://github.com/ < USERNAME > /adeviento-web.gitNavigate to the project directory.
cd adevientoCreate a virtual environment.
python3 -m venv venvActivate the virtual environment.
source venv/bin/activateInstall the units.
python -m pip install -r requirements.txtInitializes the reflection project.
reflex initExecute the project at home.
reflex run You can access him entering the URL http://localhost:3000/ From the browser.
You have more information about reflection in your official documentation.
To display the project, a local_build.sh has been created that is responsible for executing the necessary flow to generate the public directory with all the static resources that the web server needs.
The entire packaging process for production could be a delegate on the server, but the repository always has the public directory so that you can review the static web content without the need to execute the local_build.sh script.
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
reflex init
reflex export --frontend-only
rm -fr public
unzip frontend.zip -d public
rm -f frontend.zip
deactivateBasically, prepens the environment, installs dependencies, initializes the project, creates production construction, and decompressing it.
You can configure the server to perform the packaging task and deployment running build.sh .
The project can be deployed to any supplier or server that supports static resources.
Advent.dev is deployed in Vercel.
Vercel configuration:
push in the main branch triggers a new deployment)public (which contains static production for production)Free course to learn Border Web Development with pure python from scratch with reflection. The technologies used to develop the "Adevo Calendar" project. I also have a Python course from zero for beginners.
Are you looking for an extra? Here you will find my courses edited by individual lessons, to advance at your pace and save progress. You will also have exercises and corrections, test to validate your knowledge, exam and public certificate of completion, support, students, group meeting, exclusive courses and much more.
Enter Mouredev.pro and uses the "Pro" coupon with a 10% discount on your first subscription.
I am a software engineer since 2010. Since 2018 I combined my work developing apps with the creation of training content on programming and technology in different social networks such as @MouREDEV .
If you want to join our development community, learn programming, improve your skills and help the continuity of the project, you can find us in: