Skip to content

Commit

Permalink
Merge pull request #37 from effectai/exchange
Browse files Browse the repository at this point in the history
Exchange
  • Loading branch information
jeisses committed Jul 26, 2023
2 parents f17cd44 + 4d192af commit e940a11
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 17 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12.22.12
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Dockerfile
FROM node:12-alpine

# Create app directory
WORKDIR /app

# Install app dependencies
COPY package*.json ./
RUN npm ci

# Bundle app source
COPY . .

# Expose port and start app
EXPOSE 3000
CMD [ "npm", "run", "dev" ]
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
# Effect.network Website
# [Effect Network Website](https://effect.network)

## Build Setup
This repo contains the source code for the Effect Network website. The website is built using [Nuxt.js](https://nuxtjs.org/).

## Development

The node version needed for this project is: **V12.X.Y**.
The node version needed for this project is **V12.X.Y**.
[NVM](https://github.com/nvm-sh/nvm) can be used to set the correct Node version.
A `.nvmrc` file is included in the project to make this easier.
Just run the following command in the root of the project to set the correct Node version:

```bash
nvm use
```

Docker is also provided to run the project locally. To run the project with Docker, run the following command in the root of the project:

```bash
docker-compose up
```

The website will be available at [http://localhost:3000](http://localhost:3000).

## Build Setup

```bash
# install dependencies
Expand All @@ -20,4 +39,3 @@ $ npm run generate
```

For a detailed explanation of how things work, check out [Nuxt.js docs](https://nuxtjs.org).

14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# docker-compose.yml
version: '3.3'
services:
web:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
ports:
- 3000:3000
environment:
HOST: 0.0.0.0
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
{
hid: 'description',
name: 'description',
content: 'Effect Network is the place where anyone, at any time, can earn $EFX by completing simple tasks.
content: `Effect Network is the place where anyone, at any time, can earn $EFX by completing simple tasks.
It’s also the place where the future of AI is created. Train your AI models, enhance your current datasets,
or create completely new algorithms using a scalable, on-demand pool of human intelligence.'
or create completely new algorithms using a scalable, on-demand pool of human intelligence.`
}
]
}
Expand Down
11 changes: 0 additions & 11 deletions pages/token-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@
<small>with BNB (BSC)</small>
</div>
</div>
<div class="column is-one-fourth" data-aos="zoom-in" data-aos-delay="300">
<div class="has-background-white has-radius px-6 pt-5 pb-2">
<div style="min-height: 70px" class="pt-2"><img width="80%"
:src="require('@/assets/img/kucoin.svg')"/>
</div>
<a class="button is-secondary is-outlined is-fullwidth has-text-weight-semibold" href="https://trade.kucoin.com/EFX-BTC" target="_blank"
color="accent primary--text">Buy EFX
</a>
<small>with BTC or USDT (EOS)</small>
</div>
</div>
<div class="column is-one-fourth" data-aos="zoom-in" data-aos-delay="500">
<div class="has-background-white has-radius px-6 pt-5 pb-2">
<div style="min-height: 70px" class=""><img width="80%"
Expand Down

0 comments on commit e940a11

Please sign in to comment.