You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+12-20
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
# Launchpad
2
2
3
-
What is Launchpad?
4
-
Base app to start new project. The repository is monorepo with api, contract and placeholder for react (frontend) application.
3
+
## What is Launchpad?
4
+
Launchpad is the ideal scaffolding to start a new project. The repository is a monorepo with an api, contract and placeholder for react (frontend) application.
5
5
We are required to use this app as starter for any projects as it provides a good default for API, writing Contracts,
6
6
CI/CD (CircleCI) & deployment.
7
7
8
8
## Features:
9
9
10
10
- Contracts and contract deployment
11
11
- Basic api structure to start from
12
-
- A place holder for react app to be added on
12
+
- A place holder for react app to be added on(with e2e test already setup)
13
13
- Continuous Integration (Full CircleCI configuration to check contract, api and react)
14
14
- Parity backup and restore *(uses Amazon S3)*
15
15
- Sentry integration for Error Monitoring (Optional)
@@ -45,15 +45,18 @@ Other than the Dev and Swarm stacks we have:
45
45
### Local Setup with Docker (recommended)
46
46
To run the project locally you will require `docker` and `docker-compose`.
> Note: It is recommended to use docker base local setup.
48
+
1. Cd into `stack`
49
+
2. Run `source docker-aliases.sh`
50
+
4. Start parity only: `launchpad-compose up parity`
51
+
5. While parity is running, deploy the contracts(run `npm run compile && npm run deploy` from the contracts folder, You might need to run `npm i && npm run compile` if you haven't already).
52
+
6. Run `launchpad-compose build` to build the images
53
+
7. Stop parity and run `launchpad-compose up` to start all the services
Copy file name to clipboardExpand all lines: react/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,6 @@ This folder is placeholder for actual for react (front-end) application.
4
4
Example of react application from `mantle-demo`
5
5
6
6
> Note: This app is created using `create-react-app`
7
+
8
+
# e2e
9
+
The e2e folder contains a basic setup to run puppeteer integration test from your local machine or from a docker environment(and circleci), keep it when changing the frontend so you can implement integration test easily.
0 commit comments