Skip to content

Commit

Permalink
uncomment till model generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 12, 2024
1 parent 2f50fe3 commit 9047350
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

echo "SHA=$(git rev-parse "$GITHUB_SHA")" >> $GITHUB_ENV
gem install rails -v 7.1.2 --no-document
# /Users/hardik_joshi/work/open_source/activegraph/docs/activegraph.rb
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$(git rev-parse "$GITHUB_SHA")"'"/' docs/activegraph.rb > template.tmp
rails _7.1.2_ new myapp -O -m ./template.tmp
# cd myapp
# bundle exec rails generate model User name:string
cd myapp
bundle exec rails generate model User name:string
# RAILS_ENV=test bundle exec rake neo4j:migrate
# bundle exec rails c
# bundle exec rails s
Expand Down

0 comments on commit 9047350

Please sign in to comment.