|
|
5 năm trước cách đây | |
|---|---|---|
| marktplatz | 5 năm trước cách đây | |
| project_base | 5 năm trước cách đây | |
| .gitignore | 5 năm trước cách đây | |
| README.md | 5 năm trước cách đây | |
| db.sqlite3.new | 5 năm trước cách đây | |
| manage.py | 5 năm trước cách đây | |
| requirements.txt | 5 năm trước cách đây | |
| start.sh | 5 năm trước cách đây | |
| update.sh | 5 năm trước cách đây |
MAB18
sudo apt-get install python3-dev python-virtualenv git mysql-server libmysqlclient-dev
Download and create a virtual environment (make sure that your environment can handle python3
git clone https://github.com/l0tt/MAB18.git
cd MAB18/MAB18_web/project_base
virtualenv venv
source ./venv/bin/activate
Make sure you are using a virtual environment of some sort (e.g. virtualenv or
pyenv).
installing pip
sudo apt-get install pip
pip install --upgrade pip
pip install -r requirements.txt
You can override some settings using settings_local.py To run the server
./manage.py migrate
./manage.py runserver
To start the virtual environment and the server you can also use the bash script.
./start.sh