Attention!
this application is being created, and not finished!
this is the application that shows list of commedy live schedule.
- Scrape live schedule information from several web sites.
- Store that information into database as same format.
- Create pages that shows live schedule.
- Return proper page to each request.
- Requests/BeautifulSoup
→Web scraping - Django
→Web application
- AmazonLinux1
- Apache 2.2.34
- python 3.6.4
- django 2.0.2
- request (for get html)
pip install requests
- lxml (for parse html)
pip install lxml
- httpd-devel (for apache server)
yum install httpd-devel
- mod_wsgi 4.5.14 (for federate)
wget https://github.com/GrahamDumpleton/mod_wsgi/archive/4.5.14.tar.gz
tar -zxvf 4.5.14.tar.gz
cd mod_wsgi-4.5.14/
./configure --with-python=/usr/bin/.pyenv/versions/3.6.4/bin/python
make
↑error happens!! try to recompile
CONFIGURE_OPTS="--enable-shared" CFLAGS="-fPIC" pyenv install 3.6.4
make clean
./configure CFLAGS=-fPIC --enable-shared
make
sudo make install