-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sol contract installation in Dockerfile
- Loading branch information
Showing
5 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ RUN pip install eth-brownie | |
RUN pip install Django==4.1.12 | ||
RUN pip install django-filter | ||
RUN pip install django-extensions | ||
RUN pip3 install djangorestframework | ||
RUN pip install djangorestframework | ||
RUN pip install django-cors-headers | ||
RUN pip install psycopg2 | ||
RUN pip install matplotlib | ||
|
@@ -29,6 +29,8 @@ RUN pip install Sphinx | |
|
||
# RUN pip install -r requirements.txt | ||
|
||
RUN brownie pm install OpenZeppelin/[email protected] | ||
|
||
COPY luce_vm/scripts/entrypoint.sh /entrypoint.sh | ||
RUN chmod 744 /entrypoint.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
http = urllib3.PoolManager() | ||
|
||
registration_data = { | ||
registration_data = { | ||
"last_name":"piccini", | ||
"email":"[email protected]", | ||
"password":"password123", | ||
|
@@ -39,8 +39,8 @@ def Login(url, user): | |
registration_url = "http://localhost:8000/user/register/" | ||
def Register(registration_url, registration_data): | ||
r = http.request( | ||
'POST', | ||
registration_url, | ||
'POST', | ||
registration_url, | ||
body=json.dumps(registration_data).encode('utf-8'), | ||
headers={ | ||
'Content-Type':'application/json' | ||
|
@@ -57,7 +57,7 @@ def Register(registration_url, registration_data): | |
token = Login(url, user) | ||
# print(token) | ||
|
||
uploaded_data = { | ||
uploaded_data = { | ||
"estimate":False, | ||
"description":"ds", | ||
"link":"http://link.com", | ||
|