![]() ![]() You’ll probably need to type in the server’s IP address instead of the project name until your DNS is configured. Visit the site in a web browser to verify the new installation. Sudo certbot -apache # (edit /etc/apache2/sites-enabled/$nf, uncomment WSGIDaemonProcess line) # To Enable HTTPS: # (edit conf/$nf, comment out WSGIDaemonProcess line) # (see ) sudo apt install certbot Sudo a2ensite $PROJECTNAME # optional: disable existing default site and make $PROJECTNAME the server default # sudo a2dissite 000-default sudo systemctl apache2 restart # (edit conf/$nf and verify settings) sudo ln -s /var/www/ $PROJECTNAME/conf/ $nf /etc/apache2/sites-available/ The names of the other libraries will generally be the same. On a different Ubuntu version, you may need to find the corresponding PostGIS package. On Ubuntu 20.04, the default PostgreSQL version is 12 and the PostGIS version is 3. Note: If you are only experimenting with wq on your local machine, you may want to set up wq with SQLite instead of the more complex process documented here. These steps are tested on Ubuntu 20.04 LTS. These instructions assume you will be using Apache and PostGIS. ![]() wq.db is generally used with PostgreSQL and PostGIS, but any Django-supported database will work. You will also need to obtain or configure a DNS record pointing a domain or subdomain to your server. To run wq on a public website, you will need a WSGI-capable webserver like Apache, and a database to host the application. If you are planning to self-host, you can follow the process below to get an application up and running. The wq framework is designed to create fully custom applications, so most wq-powered projects eventually require running a public web server and installing a number of software packages. How To: Set up wq with Apache & PostgreSQL ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |