Multi step form created through Django in order to serve as a proposal generator.
Execute first the command pip install pip==1.4.1
followed by pip install -i https://bbpteam.epfl.ch/repository/devpi/simple --pre -r "requirements.txt"
.
If you don't have pip installed: Install pip .
Go to Collab portal: Client creation and click on the + Create new Client
button.
Fill the formular with those informations:
- Name: 'HPC Computing Platform: Production Project Request'
- Application type: Server flow
- Authorized redirect URLs: 'https://localhost:8000'
- Authorized scopes: openid, profile, offline_access, hbp.users
- Leave the logo as it is.
Press save and stay on the page that will appear.
Create a file 'projectproposal/projectproposal/localsettings.py' and write:
import hbp_app_python_auth.settings as auth_settings
auth_settings.SOCIAL_AUTH_HBP_KEY = 'XXX'
auth_settings.SOCIAL_AUTH_HBP_SECRET = 'YYY'
where 'XXX' is the Client ID value from the page and 'YYY' is the Client secret value.
In your terminal execute the command python manage.py runsslserver
.
If you dont have a certificate for your localhost: Collab portal: How to set local certificate
Open your browser and go to LocalHost and authorise the client you created.
-
Visual Design
- Step 6: Description and dependency
- Step 7: Improve visual
-
Steps
- Step 7: Summary of step 6
- Legal agreement
- PDF generation and update
-
Features
- Import
- Export
- Delete "Add more" parts
- Remove the formular part on the screen
- Delete the session Variable
- Delete the linked session Variable
- Adapt numbering
-
Information treatment
- Standardise variable names
- Treatment of empty values
- Optimise the modularity of the functions
-
Development
- Continuous integration
- Testing
- Comment
- Documentation