Follow these steps to set up and run the Go project locally:
Ensure you have the following installed on your system:
- Go (latest version)
- Docker (latest version)
- Docker Compose (latest version)
- Clone the repository:
git clone https://github.com/hamster-shared/hamster-develop.git
cd hamster-develop
- Start the database container using Docker Compose:
docker-compose up -d
- Import the SQL files from the
pkg/db/migration
directory into the database:
- You can use your preferred database management tool (e.g., DBeaver, MySQL Workbench, or pgAdmin) to connect to the database and import the SQL files.
- Depending on your system platform, run one of the following commands to compile the project:
- For Linux:
make linux
- For Windows:
make windows
- For macOS:
make macos
- Execute the project using the following command:
./aline daemon
Now the Go project should be running locally, and you can start exploring its features and functionalities.
Hamster is aiming to build the one-stop infrastructure developer toolkits for Web3.0. It defines itself as a development, operation and maintenance DevOps service platform, providing a set of development tools as well as O&M tools, empowering projects in Web3.0 to improve their coding and delivery speed, quality and efficiency, as well as product reliability & safety.
With Hamster, developers or project teams realize the development, verification and O&M stages of their blockchain projects in an automatic, standardized and tooled approach: from contract template of multiple chains, contract/frontend code build, security check, contract deployment to the contract operation and maintenance.
Together with its developer toolkits, Hamster offers the RPC service and decentralized computing power network service when users choose to deploy their contracts via Hamster.
At the same time, the contract security check part within the developer toolkits is offered separately to its to-C customers, who could check their contracts to avoid potential security risks.
This project exists thanks to all the people who contribute.