mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Remove sass dir
Update ReadMe with Getting Started directions
This commit is contained in:
29
README.md
29
README.md
@@ -1,12 +1,27 @@
|
|||||||
https://travis-ci.org/alphagov/notificiations-admin.svg
|
https://travis-ci.org/alphagov/notifications-admin.svg
|
||||||
|
|
||||||
# notifications-admin
|
# notifications-admin
|
||||||
Application to handle the admin functions of the notifications application.
|
Application to handle the admin functions of the notifications application.
|
||||||
|
|
||||||
Register users.
|
Features of this application:
|
||||||
Register services.
|
Register users.
|
||||||
Download CSV for an email or sms batch.
|
Register services.
|
||||||
Show history of notifications.
|
Download CSV for an email or sms batch.
|
||||||
Reports.
|
Show history of notifications.
|
||||||
|
Reports.
|
||||||
|
|
||||||
Make a change
|
|
||||||
|
Create a virtual environment for this project
|
||||||
|
mkvirtualenv -p /usr/local/bin/python3 notifications-admin
|
||||||
|
|
||||||
|
GOV.UK frontend toolkit
|
||||||
|
The GOV.UK frontend toolkit is a submodule of this project.
|
||||||
|
To get the content of the toolkit run the following two commands
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
|
|
||||||
|
To run the sample application run:
|
||||||
|
pip install -r requirements.txt
|
||||||
|
python app.py
|
||||||
2
app.py
2
app.py
@@ -20,8 +20,6 @@ env = assets.Environment(app)
|
|||||||
env.config['cache'] = False
|
env.config['cache'] = False
|
||||||
env.config['manifest'] = False
|
env.config['manifest'] = False
|
||||||
|
|
||||||
env.config['sass_bin'] = '/Users/rebeccalaw/.rbenv/shims/sass'
|
|
||||||
|
|
||||||
# Tell flask-assets where to look for our sass files.
|
# Tell flask-assets where to look for our sass files.
|
||||||
env.load_path = [
|
env.load_path = [
|
||||||
os.path.join(os.path.dirname(__file__), 'assets/stylesheets'),
|
os.path.join(os.path.dirname(__file__), 'assets/stylesheets'),
|
||||||
|
|||||||
Reference in New Issue
Block a user