Fix README code blocks
This commit is contained in:
18
README.md
18
README.md
@@ -58,22 +58,22 @@ Setting up the server
|
||||
|
||||
1. Install Python 3 and pip:
|
||||
|
||||
# pacman -S python python-pip
|
||||
# # OR:
|
||||
# apt-get install python3 python3-pip
|
||||
# pacman -S python python-pip
|
||||
# # OR:
|
||||
# apt-get install python3 python3-pip
|
||||
|
||||
2. Install Flask, APSchedule, and (if using in production) uwsgi:
|
||||
|
||||
# # You might have to use pip3 if your system defaults to Python 2
|
||||
# pip install APSchedule flask uwsgi
|
||||
# # You might have to use pip3 if your system defaults to Python 2
|
||||
# pip install APSchedule flask uwsgi
|
||||
|
||||
3. Configure the server by changing options in config.py, which is a Flask
|
||||
configuration file.
|
||||
|
||||
4. Start the server:
|
||||
|
||||
$ ./server.py
|
||||
$ # Or for production:
|
||||
$ uwsgi -s /tmp/serverlist.sock -w server:app
|
||||
$ # Then configure according to http://flask.pocoo.org/docs/deploying/uwsgi/
|
||||
$ ./server.py
|
||||
$ # Or for production:
|
||||
$ uwsgi -s /tmp/serverlist.sock -w server:app
|
||||
$ # Then configure according to http://flask.pocoo.org/docs/deploying/uwsgi/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user