Skip to content

mixi-adtech/facebook-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

環境構築

参考

pythonとpipのインストール
$ brew install python --framework

git clone

$ git clone git@github.com:mixi-adtech/facebook-tool.git
$ cd facebook-tool
Virtualenvのインストール
$ pip install virtualenv

開発してみる

参考:Flaskのドキュメント

仮想環境を立ち上げるまで

仮想環境の構築

$ virtualenv env

仮想環境をアクティベートする

$ source env/bin/activate

必要なパッケージをまとめてインストール

pip install -r config/requirements.txt

config/config.json.example に有効な値を入れる
configは複数の広告アカウントに対応出来る仕組みとなっている

config/config.json.exampleconfig/config.json にリネーム

$ mv config.json.example config.json

立ち上げる

$ python app.py
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 ...

http://127.0.0.1:5000 にアクセスすると、管理ツールにアクセスできる。

新しいライブラリを導入したら

config/requirements.txt を更新する。

pip freeze -l > config/requirements.txt

About

A tool that convenient advertising of facebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published