1. Clone the repository
git clone https://github.com/FractileMVP/fractile_frontend.git
cd fractile_frontend
2. Setup Environment Variables
Make a copy of .env.example
in the root directory of the project called .env
. Then fill out any missing variables.
3. Install the dependencies:
npm install
4. Development server
Start the development server on http://localhost:3000
npm run dev
npm run prod
# this will output the build to /.output/public
Locally preview production build:
npm run preview
docker build -t fractile_frontend .
docker run -it -p 8080:80 --rm --name fractile_frontend fractile_frontend
# App should be available at:
http://127.0.0.1:8080/