Note:
SpaceTraveling is a blog made with Next.js and integrated with Prismic CMS⚛️ developed in the Ignite Bootcamp by RocketSeat.
These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.
The project must be built with npm, so download it below if you don't have any installed on your system.
-
Npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. Download Node.js
-
Yarn is a package manager built by Facebook Team and seems to be faster than npm in general. Download Yarn
To run this server you will need a node version 12.0.0 (minimum)
Prismic is a Content Management System, a tool for editing online content.
You must create a account and a new Type Posts
whith this format:
Finally you must add this line to .env.local
file: (example in .env.example file
)
PRISMIC_API_ENDPOINT= // Api endpoint
PRISMIC_ACCESS_TOKEN= // Access token
- To download the project follow the instructions bellow:
- Clone project
HTTPS:
git clone https://github.com/andrelinos/ignite-reactjs-criando-um-projeto-do-zero.git
SSH:
git@github.com:andrelinos/ignite-reactjs-criando-um-projeto-do-zero.git
- Enter folder project
cd spacetraveling
-
Install the dependencies and start the server:
-
yarn install
-
yarn dev
Desenvolvido com ❤️ por Andrelino Silva